Skip to content

Commit

Permalink
SynAn: Fix let statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenart12 committed Feb 26, 2023
1 parent 3395d2f commit 10ccae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prev23/src/prev23/phase/synan/PrevParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ if_statement1 : statement | statement ELSE statement ;

while_statement : WHILE expr DO statement ;

let_statement : LET expr IN statement ;
let_statement : LET decl IN statement ;

block_statement : LCURLY statement block_statement1 RCURLY ;
block_statement1 : SEMI statement block_statement1 | ;
Expand Down

0 comments on commit 10ccae9

Please sign in to comment.