parent
b7c66ce860
commit
6ff61766da
1 changed files with 1 additions and 1 deletions
|
|
@ -1877,7 +1877,7 @@ proc parseEnum(p: var Parser): PNode =
|
|||
|
||||
var symPragma = a
|
||||
var pragma: PNode
|
||||
if p.tok.tokType == tkCurlyDotLe:
|
||||
if (p.tok.indent < 0 or p.tok.indent >= p.currInd) and p.tok.tokType == tkCurlyDotLe:
|
||||
pragma = optPragmas(p)
|
||||
symPragma = newNodeP(nkPragmaExpr, p)
|
||||
symPragma.add(a)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue