remove ast.emptyNode global; cleanup configuration.nim
This commit is contained in:
parent
479212995a
commit
2a7fc84c86
29 changed files with 148 additions and 312 deletions
|
|
@ -162,7 +162,7 @@ proc semForFields(c: PContext, n: PNode, m: TMagic): PNode =
|
|||
# we avoid it now if we can:
|
||||
if containsNode(stmts, {nkBreakStmt}):
|
||||
var b = newNodeI(nkBreakStmt, n.info)
|
||||
b.add(ast.emptyNode)
|
||||
b.add(newNodeI(nkEmpty, n.info))
|
||||
stmts.add(b)
|
||||
else:
|
||||
result = stmts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue