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