add mark to parser rule
This commit is contained in:
parent
6f2e788329
commit
e8f894d994
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ COMPAREE ::= FAC| (FAC(ADD | SUB) FAC)
|
||||||
FAC ::= APPLY | (APPLIER (MUL | DIV) APPLY)
|
FAC ::= APPLY | (APPLIER (MUL | DIV) APPLY)
|
||||||
APPLY ::= "(" ID APPLYEE* ")" | APPLYEE
|
APPLY ::= "(" ID APPLYEE* ")" | APPLYEE
|
||||||
APPLYEE ::= REF | CONST | EXPR | FUNC
|
APPLYEE ::= REF | CONST | EXPR | FUNC
|
||||||
CONST ::= INT | STR | FLO | BOOL
|
* CONST ::= INT | STR | FLO | BOOL
|
||||||
BOOL ::= "true" | "false"
|
BOOL ::= "true" | "false"
|
||||||
FUNC ::= FUNC_OPTION? ( ARGS? ) -> TYPE {BLOCK}
|
FUNC ::= FUNC_OPTION? ( ARGS? ) -> TYPE {BLOCK}
|
||||||
BLOCK ::= PROG (return ID |noReturn) ;
|
BLOCK ::= PROG (return ID |noReturn) ;
|
||||||
|
|
Loading…
Reference in a new issue