Skip to content

Commit

Permalink
Allow empty statements in switch (#13)
Browse files Browse the repository at this point in the history
* Allow empty statements in non default cases
  • Loading branch information
arturjpv authored Feb 12, 2025
1 parent 080d131 commit 7722e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UnrealAngelscriptParser/Grammar/UnrealAngelscriptParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ labeledStatement:
(Identifier
| Case constantExpression
| Default
) Colon statement;
) Colon statement?;

expressionStatement: expression? Semi;

Expand Down

0 comments on commit 7722e8f

Please sign in to comment.