bugfix: endless loop in parser; added sphinx wrapper
This commit is contained in:
parent
ade67f1abc
commit
adbb48fbce
7 changed files with 270 additions and 4 deletions
|
|
@ -197,6 +197,7 @@ proc parseSymbol(p: var TParser): PNode =
|
|||
eat(p, tkAccent)
|
||||
else:
|
||||
parMessage(p, errIdentifierExpected, p.tok)
|
||||
getTok(p) # BUGFIX: We must consume a token here to prevent endless loops!
|
||||
result = ast.emptyNode
|
||||
|
||||
proc indexExpr(p: var TParser): PNode =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue