Skip to content

Commit 7722e8f

Browse files
authored
Allow empty statements in switch (#13)
* Allow empty statements in non default cases
1 parent 080d131 commit 7722e8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UnrealAngelscriptParser/Grammar/UnrealAngelscriptParser.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ labeledStatement:
233233
(Identifier
234234
| Case constantExpression
235235
| Default
236-
) Colon statement;
236+
) Colon statement?;
237237

238238
expressionStatement: expression? Semi;
239239

0 commit comments

Comments
 (0)