forked from jasder/antlr
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:
commit
4deb708cd8
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue