diff options
Diffstat (limited to 'lib/core')
-rw-r--r-- | lib/core/macros.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim index 31e133090..cc20f1dac 100644 --- a/lib/core/macros.nim +++ b/lib/core/macros.nim @@ -1458,7 +1458,7 @@ proc boolVal*(n: NimNode): bool {.compileTime, noSideEffect.} = else: n == bindSym"true" # hacky solution for now when defined(nimMacrosGetNodeId): - proc nodeID*(n: NimNode): int {.magic: NodeId.} + proc nodeID*(n: NimNode): int {.magic: "NodeId".} ## Returns the id of ``n``, when the compiler has been compiled ## with the flag ``-d:useNodeids``, otherwise returns ``-1``. This ## proc is for the purpose to debug the compiler only. |