update grammar

This commit is contained in:
ChUrl
2020-12-12 16:04:30 +01:00
parent 1eac9e494a
commit 8bdcd0f7d7

View File

@ -60,9 +60,9 @@ ASSIGNMENT -> IDENTIFIER ASSIGN EXPR
// Stuff that returns something
PAR_EXPR -> L_PAREN EXPR R_PAREN
EXPR -> EXPR_F EXPR_2
EXPR[compact] -> EXPR_F EXPR_2
EXPR_2[compact nullable] -> OP EXPR_F EXPR_2 | EPS
EXPR_F[compact] -> UNARY EXPR_F | L_PAREN EXPR R_PAREN | VAL
EXPR_F[compact] -> UNARY EXPR_F | PAR_EXPR | VAL
// Control-Flow
SINGLE_OR_BRACED -> L_BRACE BLOCK_CNT R_BRACE | STMT SEMICOLON