diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-06-17T13·37+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-06-17T13·37+0000 |
commit | a7ab242fb42dad81dc1bccdca4b432587e0957dd (patch) | |
tree | 55d9e88cccedac604da05fa6873bfde4ad11ba6d /src/test.cc | |
parent | c739e2058560ad018dcf68e16fa683ca404d548c (diff) |
* Simplify the evaluator.
Diffstat (limited to 'src/test.cc')
-rw-r--r-- | src/test.cc | 6 |
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; } |