From 74404de12d4108a129a70ff93eaf08e0526c0515 Mon Sep 17 00:00:00 2001 From: Araq Date: Mon, 25 Mar 2013 02:20:12 +0100 Subject: added immediate versions of macros.dumpLisp and dumpTree --- lib/core/macros.nim | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib') 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`. + -- cgit 1.4.1-2-gfad0