diff options
Diffstat (limited to 'lib')
-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 8ed9be2f4..6f4d75b9b 100644 --- a/lib/core/macros.nim +++ b/lib/core/macros.nim @@ -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`. + |