diff options
author | Araq <rumpf_a@web.de> | 2011-11-10 02:13:02 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-11-10 02:13:02 +0100 |
commit | 2bd14f4ba8863f08eadc99e6664935ab1e3fec20 (patch) | |
tree | 9267335830e82da7ccb3a993319cd86473aa3276 /tests/accept/compile/tdumpast.nim | |
parent | 68be801f63dc41e79f96ef2516350cc8538c5d7e (diff) | |
download | Nim-2bd14f4ba8863f08eadc99e6664935ab1e3fec20.tar.gz |
GC tests now finally part of testsuite
Diffstat (limited to 'tests/accept/compile/tdumpast.nim')
-rwxr-xr-x | tests/accept/compile/tdumpast.nim | 10 |
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] |