added comment to macros (#7598)

* added comment to macros

* Update macros.nim
This commit is contained in:
Arne Döring 2018-04-13 14:05:07 +02:00 • committed by Andreas Rumpf
commit 55fe3d87a7

View file

@ -14,6 +14,12 @@ include "system/inclrtl"
## .. include:: ../../doc/astspec.txt ## .. include:: ../../doc/astspec.txt
# If you look for the implementation of the magic symbols, copy the
# magic string and open the file "../../compiler/vm.nim" and search
# for the magic string with the prefix "opc". For example the
# implementation of ``{.magic: "FooBar".}`` will be right under
# ``of opcFooBar:``.
type type
NimNodeKind* = enum NimNodeKind* = enum
nnkNone, nnkEmpty, nnkIdent, nnkSym, nnkNone, nnkEmpty, nnkIdent, nnkSym,