Merge branch 'devel' of https://github.com/Araq/Nimrod into devel

This commit is contained in:
Araq
2014-12-28 23:01:21 +01:00

View File

@@ -649,6 +649,8 @@ proc `$`*(node: PNimrodNode): string {.compileTime.} =
result = $node.basename.ident & "*"
of nnkStrLit..nnkTripleStrLit:
result = node.strVal
of nnkSym:
result = $node.symbol
else:
badNodeKind node.kind, "$"