summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-12-28 23:01:21 +0100
committerAraq <rumpf_a@web.de>2014-12-28 23:01:21 +0100
commita70a64b74d35c6e540ab914531741bbdcf4201a6 (patch)
tree1d0a38babed31735a07284c2d50c1b8bcbfa5c23
parentcfb76164b875e4a8e3f5cb1fb8c298d5e3416cab (diff)
parentacc80aaedccb5d19cc9b417a2ad82df08bfe369c (diff)
downloadNim-a70a64b74d35c6e540ab914531741bbdcf4201a6.tar.gz
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
-rw-r--r--lib/core/macros.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim
index ed5d3c50c..353254d49 100644
--- a/lib/core/macros.nim
+++ b/lib/core/macros.nim
@@ -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, "$"