|
|
@@ -27,7 +27,7 @@ proto._expressions = undefined;
|
|
|
proto.add = function add( exp ){
|
|
|
// verify(expression)
|
|
|
if(!exp)
|
|
|
- throw new Error(exp + " failed verify on ListOfMatchExpression:add:30");
|
|
|
+ throw new Error(exp + " failed verify on ListOfMatchExpression:add");
|
|
|
if(this._expressions) {
|
|
|
this._expressions.push(exp);
|
|
|
} else {
|
|
|
@@ -102,7 +102,6 @@ proto.equivalent = function equivalent(other){
|
|
|
if (this._matchType != other._matchType)
|
|
|
return false;
|
|
|
|
|
|
- debugger
|
|
|
var realOther = new ListOfMatchExpression(other);
|
|
|
|
|
|
if (this._expressions.length != realOther._expressions.length)
|
|
|
@@ -114,4 +113,4 @@ proto.equivalent = function equivalent(other){
|
|
|
return false;
|
|
|
|
|
|
return true;
|
|
|
-};
|
|
|
+};
|