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
parent 44ee3c27c0
commit 55fe3d87a7

View File

@@ -14,6 +14,12 @@ include "system/inclrtl"
## .. 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
NimNodeKind* = enum
nnkNone, nnkEmpty, nnkIdent, nnkSym,