1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-17 07:52:43 +01:00

* Simplify the evaluator.

This commit is contained in:
Eelco Dolstra 2003-06-17 13:37:44 +00:00
parent c739e20585
commit a7ab242fb4
3 changed files with 50 additions and 63 deletions

View file

@ -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;
}