diff options
author | Arne Döring <arne.doering@gmx.net> | 2018-04-13 14:05:07 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-04-13 14:05:07 +0200 |
commit | 55fe3d87a708935570ccb911e2046b99b442da0f (patch) | |
tree | 1f927a68241a190012bfb2a6baa2559fe57ae111 /lib/core | |
parent | 44ee3c27c08d3908b336581f67680d26b9f8a528 (diff) | |
download | Nim-55fe3d87a708935570ccb911e2046b99b442da0f.tar.gz |
added comment to macros (#7598)
* added comment to macros * Update macros.nim
Diffstat (limited to 'lib/core')
-rw-r--r-- | lib/core/macros.nim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim index 4e935c5e8..3bdd29b0a 100644 --- a/lib/core/macros.nim +++ b/lib/core/macros.nim @@ -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, |