mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-02 09:58:01 +00:00
added comment to macros (#7598)
* added comment to macros * Update macros.nim
This commit is contained in:
committed by
Andreas Rumpf
parent
44ee3c27c0
commit
55fe3d87a7
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user