From 22789a0bfc326ae6a292679b4e9d9eb2a295c26a Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Thu, 23 Feb 2017 19:47:09 +0100 Subject: fixes #5419 --- lib/core/macros.nim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/core') 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, "$" -- cgit 1.4.1-2-gfad0