Skip to content

Commit

Permalink
fix: Specify YulBlock as delimited by braces in DSL v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanewok committed Nov 9, 2023
1 parent f0cb998 commit dce8599
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/solidity/inputs/language/src/definition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4062,12 +4062,12 @@ codegen_language_macros::compile!(Language(
name = YulBlock,
error_recovery = FieldsErrorRecovery(
delimiters =
FieldDelimiters(open = open_paren, close = close_paren)
FieldDelimiters(open = open_brace, close = close_brace)
),
fields = (
open_paren = Required(Terminal([OpenParen])),
open_brace = Required(Terminal([OpenBrace])),
statements = Required(NonTerminal(YulStatements)),
close_paren = Required(Terminal([CloseParen]))
close_brace = Required(Terminal([CloseBrace]))
)
),
Repeated(
Expand Down

0 comments on commit dce8599

Please sign in to comment.