forked from jasder/antlr
fix typo
This commit is contained in:
parent
aa909ddcb1
commit
5bc40faebb
|
@ -65,7 +65,7 @@ function ParseTreeVisitor() {
|
|||
ParseTreeVisitor.prototype.visit = function(ctx) {
|
||||
if (Array.isArray(ctx)) {
|
||||
return ctx.map(function(child) {
|
||||
return ctx.accept(this);
|
||||
return child.accept(this);
|
||||
}, this);
|
||||
} else {
|
||||
return ctx.accept(this);
|
||||
|
|
Loading…
Reference in New Issue