Skip to content

Commit

Permalink
Correct issue with parsing of struct literals
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Ballance <matt.ballance@gmail.com>
  • Loading branch information
mballance committed Nov 14, 2023
1 parent b7324e1 commit 7c9b3be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PSSParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -1533,7 +1533,7 @@ map_literal_item:
;

struct_literal:
TOK_LCBRACE struct_literal_item (TOK_COMMA struct_literal_item) TOK_RCBRACE
TOK_LCBRACE struct_literal_item (TOK_COMMA struct_literal_item)* TOK_RCBRACE
;

struct_literal_item:
Expand Down

0 comments on commit 7c9b3be

Please sign in to comment.