Skip to content

Commit

Permalink
Adjust case statement to CAIE std
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamQiufeng committed Aug 28, 2022
1 parent 74b940a commit 01ee470
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion PseudoCode.Core/Parsing/PseudoCode.g4
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ forStatement locals [bool HasStep]: For expression AssignmentNotation expression
whileStatement: While scopedExpression indentedBlock Endwhile;
repeatStatement: Repeat indentedBlock Until scopedExpression;

caseStatement: Case expression Of caseBody Endcase;
caseStatement: Case Of expression caseBody Endcase;
caseBranch
: (Otherwise | scopedExpression | valueRange) Colon alignedBlock
| NL
Expand Down
Loading

0 comments on commit 01ee470

Please sign in to comment.