diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-03-31 20:09:20 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-03-31 20:09:20 +0000 |
commit | dc31305b381f69de5ac5fd4776df1a802045ff00 (patch) | |
tree | 8dceb2635eb1f61caf1860206ced3a4828573d25 /src/libexpr/eval.cc | |
parent | 979f163615745db74f3a94a71818e66c75baf9ac (diff) |
* Fixed the trace primop and path comparison.
* Removed exprToString and stringToExpr because there is no ATerm
representation to work on anymore (and exposing the internals of the
evaluator like this is not a good idea anyway).
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r-- | src/libexpr/eval.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index 6e504f879..2bfcdac07 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -852,6 +852,9 @@ bool EvalState::eqValues(Value & v1, Value & v2) /* !!! contexts */ return strcmp(v1.string.s, v2.string.s) == 0; + case tPath: + return strcmp(v1.path, v2.path) == 0; + case tNull: return true; |