mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-17 22:41:14 +00:00
fixes #2123
This commit is contained in:
@@ -1597,6 +1597,7 @@ proc parseEnum(p: var TParser): PNode =
|
||||
optInd(p, result)
|
||||
while true:
|
||||
var a = parseSymbol(p)
|
||||
if a.kind == nkEmpty: return
|
||||
if p.tok.indent >= 0 and p.tok.indent <= p.currInd:
|
||||
add(result, a)
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user