From 55fe3d87a708935570ccb911e2046b99b442da0f Mon Sep 17 00:00:00 2001 From: Arne Döring Date: Fri, 13 Apr 2018 14:05:07 +0200 Subject: added comment to macros (#7598) * added comment to macros * Update macros.nim --- lib/core/macros.nim | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/core') 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, -- cgit 1.4.1-2-gfad0