summary refs log tree commit diff stats
path: root/lib/core/macros.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-08-21 12:18:04 +0200
committerAraq <rumpf_a@web.de>2015-08-21 12:18:04 +0200
commit0cc662d8b854335bc31d7739ed41dd222c0cfca8 (patch)
tree839e47573d4a00693816d0972416d3b16abbb242 /lib/core/macros.nim
parent695e2e970e5ee560d324d6775c202f9b808f97fa (diff)
downloadNim-0cc662d8b854335bc31d7739ed41dd222c0cfca8.tar.gz
fixes bootstrapping
Diffstat (limited to 'lib/core/macros.nim')
-rw-r--r--lib/core/macros.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim
index 2058229a1..552c0dbff 100644
--- a/lib/core/macros.nim
+++ b/lib/core/macros.nim
@@ -213,9 +213,10 @@ proc newNimNode*(kind: NimNodeKind,
 proc copyNimNode*(n: NimNode): NimNode {.magic: "NCopyNimNode", noSideEffect.}
 proc copyNimTree*(n: NimNode): NimNode {.magic: "NCopyNimTree", noSideEffect.}
 
-proc getImpl*(s: NimSym): NimNode {.magic: "GetImpl", noSideEffect.}
+proc getImpl*(s: NimSym): NimNode {.magic: "GetImpl", noSideEffect.} =
   ## retrieve the implementation of a symbol `s`. `s` can be a routine or a
   ## const.
+  discard
 
 proc error*(msg: string) {.magic: "NError", benign.}
   ## writes an error message at compile time