fix format bug for elsestme and stmt def in .g4
This commit is contained in:
@@ -137,6 +137,7 @@ blockStmt: LBRACE blockItem* RBRACE;
|
||||
blockItem: decl | stmt;
|
||||
|
||||
stmt: lValue ASSIGN exp SEMICOLON
|
||||
| exp? SEMICOLON
|
||||
| blockStmt
|
||||
| IF LPAREN cond RPAREN stmt (ELSE stmt)?
|
||||
| WHILE LPAREN cond RPAREN stmt
|
||||
|
||||
Reference in New Issue
Block a user