missed file from the previous commit

This commit is contained in:
Zahary Karadjov
2012-03-19 12:13:42 +02:00
parent e43f8d842b
commit 7b41b0f841

View File

@@ -794,6 +794,13 @@ proc newNodeI(kind: TNodeKind, info: TLineInfo): PNode =
result = newNode(kind)
result.info = info
proc newNode*(kind: TNodeKind, info: TLineInfo, sons: TNodeSeq = @[],
typ: PType = nil): PNode =
result = newNode(kind)
result.info = info
result.typ = typ
result.sons = sons
proc newNodeIT(kind: TNodeKind, info: TLineInfo, typ: PType): PNode =
result = newNode(kind)
result.info = info