Merge pull request #1138 from dtymon/05_fix_OR_toString

JS: Fix copy-and-paste error in OR SemanticContext toString() method
This commit is contained in:
Terence Parr 2016-03-30 16:39:08 +00:00
commit 4deb708cd8
1 changed files with 1 additions and 1 deletions

View File

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