fixes #992
This commit is contained in:
parent
7874c0efcb
commit
9fdb131686
2 changed files with 8 additions and 0 deletions
|
|
@ -525,6 +525,8 @@ proc parsePar(p: var TParser): PNode =
|
|||
asgn.sons[0] = a
|
||||
asgn.sons[1] = b
|
||||
result.add(asgn)
|
||||
if p.tok.tokType == tkSemiColon:
|
||||
semiStmtList(p, result)
|
||||
elif p.tok.tokType == tkSemiColon:
|
||||
# stmt context:
|
||||
result.add(a)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue