mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 22:33:49 +00:00
added immediate versions of macros.dumpLisp and dumpTree
This commit is contained in:
@@ -400,3 +400,9 @@ macro dumpLisp*(s: stmt): stmt = echo s.lispRepr
|
||||
##
|
||||
## 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`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user