some functions of PDA in parser updated.

This commit is contained in:
Valk Richard Li
2019-08-14 02:26:42 +08:00
committed by GitHub
parent b4f86ba667
commit 62e1837704
6 changed files with 89 additions and 49 deletions
+3 -1
View File
@@ -83,6 +83,8 @@
//statement
<func_return> ::= <return> <scalar>
<statement> ::= <definition>|<assignment>|<loop>|<choose>|<use_function>|<func_return> <;>
<loop_continue> ::= <continue>
<loop_break> ::= <break>
<statement> ::= <definition>|<assignment>|<loop>|<choose>|<use_function>|<func_return>|<loop_continue>|<loop_break> <;>
<statements> ::= <statement> <statement>
<statements> ::= <statements> <statement>