fixes #112
This commit is contained in:
parent
b4a9aca2d3
commit
eee99ab272
1 changed files with 2 additions and 0 deletions
|
|
@ -1247,6 +1247,8 @@ proc parseEnum(p: var TParser): PNode =
|
|||
getTok(p)
|
||||
optInd(p, a)
|
||||
addSon(result, a)
|
||||
if result.len <= 1:
|
||||
lexMessage(p.lex, errIdentifierExpected, prettyTok(p.tok))
|
||||
|
||||
proc parseObjectPart(p: var TParser): PNode
|
||||
proc parseObjectWhen(p: var TParser): PNode =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue