diff options
author | Araq <rumpf_a@web.de> | 2014-12-28 23:01:21 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-12-28 23:01:21 +0100 |
commit | a70a64b74d35c6e540ab914531741bbdcf4201a6 (patch) | |
tree | 1d0a38babed31735a07284c2d50c1b8bcbfa5c23 | |
parent | cfb76164b875e4a8e3f5cb1fb8c298d5e3416cab (diff) | |
parent | acc80aaedccb5d19cc9b417a2ad82df08bfe369c (diff) | |
download | Nim-a70a64b74d35c6e540ab914531741bbdcf4201a6.tar.gz |
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
-rw-r--r-- | lib/core/macros.nim | 2 |
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, "$" |