add nodeId proc to macros (#11456)

* add nodeId proc to macros

* add doc comment.

* fix typo
This commit is contained in:
Arne Döring 2019-09-18 20:02:30 +02:00 • committed by Andreas Rumpf
commit 188ce5f3ee
6 changed files with 18 additions and 2 deletions

View file

@ -87,6 +87,7 @@ proc initDefines*(symbols: StringTableRef) =
defineSymbol("nimHasDefault")
defineSymbol("nimMacrosSizealignof")
defineSymbol("nimNoZeroExtendMagic")
defineSymbol("nimMacrosGetNodeId")
for f in low(Feature)..high(Feature):
defineSymbol("nimHas" & $f)