'nimrod pretty' usable
This commit is contained in:
parent
805959378d
commit
731c6f9083
5 changed files with 55 additions and 63 deletions
|
|
@ -431,7 +431,7 @@ proc semConst(c: PContext, n: PNode): PNode =
|
|||
var b = newNodeI(nkConstDef, a.info)
|
||||
if importantComments(): b.comment = a.comment
|
||||
addSon(b, newSymNode(v))
|
||||
addSon(b, ast.emptyNode) # no type description
|
||||
addSon(b, a.sons[1])
|
||||
addSon(b, copyTree(def))
|
||||
addSon(result, b)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue