fixes #2533
This commit is contained in:
parent
c01d9d081b
commit
9e4e7ca535
2 changed files with 2 additions and 2 deletions
|
|
@ -1881,7 +1881,7 @@ proc simpleStmt(p: var TParser): PNode =
|
||||||
|
|
||||||
proc complexOrSimpleStmt(p: var TParser): PNode =
|
proc complexOrSimpleStmt(p: var TParser): PNode =
|
||||||
#| complexOrSimpleStmt = (ifStmt | whenStmt | whileStmt
|
#| complexOrSimpleStmt = (ifStmt | whenStmt | whileStmt
|
||||||
#| | tryStmt | finallyStmt | exceptStmt | forStmt
|
#| | tryStmt | forStmt
|
||||||
#| | blockStmt | staticStmt | deferStmt | asmStmt
|
#| | blockStmt | staticStmt | deferStmt | asmStmt
|
||||||
#| | 'proc' routine
|
#| | 'proc' routine
|
||||||
#| | 'method' routine
|
#| | 'method' routine
|
||||||
|
|
|
||||||
|
|
@ -179,7 +179,7 @@ simpleStmt = ((returnStmt | raiseStmt | yieldStmt | discardStmt | breakStmt
|
||||||
| continueStmt | pragmaStmt | importStmt | exportStmt | fromStmt
|
| continueStmt | pragmaStmt | importStmt | exportStmt | fromStmt
|
||||||
| includeStmt | commentStmt) / exprStmt) COMMENT?
|
| includeStmt | commentStmt) / exprStmt) COMMENT?
|
||||||
complexOrSimpleStmt = (ifStmt | whenStmt | whileStmt
|
complexOrSimpleStmt = (ifStmt | whenStmt | whileStmt
|
||||||
| tryStmt | finallyStmt | exceptStmt | forStmt
|
| tryStmt | forStmt
|
||||||
| blockStmt | staticStmt | deferStmt | asmStmt
|
| blockStmt | staticStmt | deferStmt | asmStmt
|
||||||
| 'proc' routine
|
| 'proc' routine
|
||||||
| 'method' routine
|
| 'method' routine
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue