Skip to content

Commit

Permalink
Add the directive nodes to the parser stack.
Browse files Browse the repository at this point in the history
  • Loading branch information
gdotdesign committed Apr 13, 2021
1 parent 8a49798 commit 8bf8627
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/parsers/directives/asset.cr
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module Mint
whitespace
char ')', AssetDirectiveExpectedClosingParentheses

Ast::Directives::Asset.new(
self << Ast::Directives::Asset.new(
from: start_position,
to: position,
input: data,
Expand Down
2 changes: 1 addition & 1 deletion src/parsers/directives/documentation.cr
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module Mint
whitespace
char ')', DocumentationDirectiveExpectedClosingParentheses

Ast::Directives::Documentation.new(
self << Ast::Directives::Documentation.new(
from: start_position,
entity: entity,
to: position,
Expand Down
2 changes: 1 addition & 1 deletion src/parsers/directives/format.cr
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module Mint
expression! FormatDirectiveExpectedExpression
end

Ast::Directives::Format.new(
self << Ast::Directives::Format.new(
from: start_position,
content: content,
to: position,
Expand Down
2 changes: 1 addition & 1 deletion src/parsers/directives/svg.cr
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module Mint
whitespace
char ')', SvgDirectiveExpectedClosingParentheses

Ast::Directives::Svg.new(
self << Ast::Directives::Svg.new(
from: start_position,
to: position,
input: data,
Expand Down

0 comments on commit 8bf8627

Please sign in to comment.