diff options
Diffstat (limited to 'lib/core/macros.nim')
-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, |