[walker] Understand ParenthesizedExpression nodes

Closes #210
This commit is contained in:
Marijn Haverbeke 2015-02-17 15:09:18 +01:00
parent 9a617a59e4
commit de544da8f3

View File

@ -172,7 +172,7 @@
};
base.Statement = skipThrough;
base.EmptyStatement = ignore;
base.ExpressionStatement = function(node, st, c) {
base.ExpressionStatement = base.ParenthesizedExpression = function(node, st, c) {
c(node.expression, st, "Expression");
};
base.IfStatement = function(node, st, c) {