aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/transform.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/transform.js b/lib/transform.js
index 7a61e5f3..c3c34f58 100644
--- a/lib/transform.js
+++ b/lib/transform.js
@@ -159,6 +159,7 @@ TreeTransformer.prototype = new TreeWalker;
});
_(AST_VarDef, function(self, tw){
+ self.name = self.name.transform(tw);
if (self.value) self.value = self.value.transform(tw);
});