summary refs log tree commit diff stats
path: root/tests/accept/compile/tdumpast.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-11-10 02:13:02 +0100
committerAraq <rumpf_a@web.de>2011-11-10 02:13:02 +0100
commit2bd14f4ba8863f08eadc99e6664935ab1e3fec20 (patch)
tree9267335830e82da7ccb3a993319cd86473aa3276 /tests/accept/compile/tdumpast.nim
parent68be801f63dc41e79f96ef2516350cc8538c5d7e (diff)
downloadNim-2bd14f4ba8863f08eadc99e6664935ab1e3fec20.tar.gz
GC tests now finally part of testsuite
Diffstat (limited to 'tests/accept/compile/tdumpast.nim')
-rwxr-xr-xtests/accept/compile/tdumpast.nim10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/accept/compile/tdumpast.nim b/tests/accept/compile/tdumpast.nim
index 653cdfa33..d044e1da1 100755
--- a/tests/accept/compile/tdumpast.nim
+++ b/tests/accept/compile/tdumpast.nim
@@ -10,17 +10,17 @@ macro call(e: expr): expr =
   
 macro dumpAST(n: stmt): stmt =
   # dump AST as a side-effect and return the inner node
-  echo n.toLisp
-  echo n.toYaml
+  echo n.lispRepr
+  echo n.treeRepr
 
   var plusAst = getAst(plus(1, 2))
-  echo plusAst.toLisp
+  echo plusAst.lispRepr
 
   var callAst = getAst(call())
-  echo callAst.toLisp
+  echo callAst.lispRepr
 
   var e = parseExpr("foo(bar + baz)")
-  echo e.toLisp
+  echo e.lispRepr
 
   result = n[1]