added immediate versions of macros.dumpLisp and dumpTree

This commit is contained in:
Araq 2013-03-25 02:20:12 +01:00
commit 74404de12d

View file

@ -400,3 +400,9 @@ macro dumpLisp*(s: stmt): stmt = echo s.lispRepr
## ##
## See `dumpTree`. ## See `dumpTree`.
macro dumpTreeImm*(s: stmt): stmt {.immediate.} = echo s.treeRepr
## The ``immediate`` version of `dumpTree`.
macro dumpLispImm*(s: stmt): stmt {.immediate.} = echo s.lispRepr
## The ``immediate`` version of `dumpLisp`.