fixed visitAtom implementation

This implementation somehow got lost in rebasing.
This commit is contained in:
Christian Gudrian 2016-10-07 20:37:38 +02:00
parent e5bab64e4b
commit 75dd652d7a
1 changed files with 1 additions and 4 deletions

View File

@ -107,10 +107,7 @@ ParseTreeVisitor.prototype.visitErrorNode = function(node) {
var visitAtom = function(visitor, ctx) {
var name = ctx.parser.ruleNames[ctx.ruleIndex];
var funcName = "visit" + Utils.titleCase(name);
return visitor[funcName](ctx);
return ctx.accept(visitor);
};
function ParseTreeListener() {