Fix stupid mistakes in the |buildNodeVisitor| function
This commit is contained in:
parent
1b75a7b9b3
commit
906488027b
|
@ -82,6 +82,6 @@ function quoteForRegexpClass(s) {
|
||||||
*/
|
*/
|
||||||
function buildNodeVisitor(functions) {
|
function buildNodeVisitor(functions) {
|
||||||
return function(node) {
|
return function(node) {
|
||||||
functions[node.type].apply(null, arguments));
|
return functions[node.type].apply(null, arguments);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue