about summary refs log tree commit diff
path: root/src/test.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-06-17T13·37+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-06-17T13·37+0000
commita7ab242fb42dad81dc1bccdca4b432587e0957dd (patch)
tree55d9e88cccedac604da05fa6873bfde4ad11ba6d /src/test.cc
parentc739e2058560ad018dcf68e16fa683ca404d548c (diff)
* Simplify the evaluator.
Diffstat (limited to 'src/test.cc')
-rw-r--r--src/test.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/test.cc b/src/test.cc
index bf7ee191f0b7..56414956202c 100644
--- a/src/test.cc
+++ b/src/test.cc
@@ -12,10 +12,8 @@
 
 void evalTest(Expr e)
 {
-    EvalResult r = evalValue(e);
-
-    char * s = ATwriteToString(r.e);
-    cout << (string) r.h << ": " << s << endl;
+    e = evalValue(e);
+    cout << (string) hashExpr(e) << ": " << printExpr(e) << endl;
 }