diff options
author | Mihai Bazon <mihai@bazon.net> | 2013-07-14 13:24:09 +0300 |
---|---|---|
committer | Mihai Bazon <mihai@bazon.net> | 2013-07-14 13:24:09 +0300 |
commit | 9243b0cb9dd8469b6f4dbbf6ff9508e56f0e6fc2 (patch) | |
tree | 1d2dc8ad8f2ca55874bc989c6fe27d55c9f6d737 /lib/transform.js | |
parent | fc9ba323c475b107503f408af7fca19cb31a20f4 (diff) | |
download | tracifyjs-9243b0cb9dd8469b6f4dbbf6ff9508e56f0e6fc2.tar.gz tracifyjs-9243b0cb9dd8469b6f4dbbf6ff9508e56f0e6fc2.zip |
Apply transformer to AST_VarDef's name
Fix #237
Diffstat (limited to 'lib/transform.js')
-rw-r--r-- | lib/transform.js | 1 |
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); }); |