JS: Fix copy-and-paste error in OR SemanticContext toString() method

- the OR toString() method was incorrectly added to the AND prototype
This commit is contained in:
David Tymon 2016-03-15 11:00:36 +11:00
parent d0fb48c2b8
commit 0dbb12ad1a
1 changed files with 1 additions and 1 deletions

View File

@ -408,7 +408,7 @@ OR.prototype.evalPrecedence = function(parser, outerContext) {
return result;
};
AND.prototype.toString = function() {
OR.prototype.toString = function() {
var s = "";
this.opnds.map(function(o) {
s += "|| " + o.toString();