This commit is contained in:
Andreas Rumpf 2019-03-25 19:26:38 +01:00 • committed by GitHub
commit 8e1c6e2e2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View file

@ -2086,7 +2086,9 @@ proc parseConstant(p: var TParser): PNode =
addSon(result, p.emptyNode)
eat(p, tkEquals)
optInd(p, result)
addSon(result, parseStmtListExpr(p))
#addSon(result, parseStmtListExpr(p))
addSon(result, parseExpr(p))
result[^1] = postExprBlocks(p, result[^1])
indAndComment(p, result)
proc parseBind(p: var TParser, k: TNodeKind): PNode =