* 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).
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user