diff --git a/lib/core/macros.nim b/lib/core/macros.nim index 8ed9be2f4e..6f4d75b9b5 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`. +