summary refs log tree commit diff stats
path: root/lib/core
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-02-23 19:47:09 +0100
committerAndreas Rumpf <rumpf_a@web.de>2017-02-24 00:32:14 +0100
commit22789a0bfc326ae6a292679b4e9d9eb2a295c26a (patch)
tree1fc7ab515208fb1854384b3312fc9c54d2c5db27 /lib/core
parent92c2a51bf763c16579da6b9e2ceaede5552bf5ff (diff)
downloadNim-22789a0bfc326ae6a292679b4e9d9eb2a295c26a.tar.gz
fixes #5419
Diffstat (limited to 'lib/core')
-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 3adf4670d..83776f16b 100644
--- a/lib/core/macros.nim
+++ b/lib/core/macros.nim
@@ -742,6 +742,8 @@ proc `$`*(node: NimNode): string {.compileTime.} =
     result = $node.symbol
   of nnkOpenSymChoice, nnkClosedSymChoice:
     result = $node[0]
+  of nnkAccQuoted:
+    result = $node[0]
   else:
     badNodeKind node.kind, "$"