aboutsummaryrefslogtreecommitdiff
path: root/lib/transform.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/transform.js')
-rw-r--r--lib/transform.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/transform.js b/lib/transform.js
index 5372cc59..0b92f8b5 100644
--- a/lib/transform.js
+++ b/lib/transform.js
@@ -126,6 +126,10 @@ TreeTransformer.prototype = new TreeWalker;
self.name = self.name.transform(tw);
if (self.value) self.value = self.value.transform(tw);
});
+ DEF(AST_DefaultValue, function(self, tw) {
+ self.name = self.name.transform(tw);
+ self.value = self.value.transform(tw);
+ });
DEF(AST_Lambda, function(self, tw) {
if (self.name) self.name = self.name.transform(tw);
self.argnames = do_list(self.argnames, tw);