From 2bd14f4ba8863f08eadc99e6664935ab1e3fec20 Mon Sep 17 00:00:00 2001 From: Araq Date: Thu, 10 Nov 2011 02:13:02 +0100 Subject: GC tests now finally part of testsuite --- tests/accept/compile/tdumpast.nim | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/accept/compile/tdumpast.nim') 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] -- cgit 1.4.1-2-gfad0