more cleanup (dropped AST_SwitchBlock)

This commit is contained in:
Mihai Bazon
2012-10-03 15:52:01 +03:00
parent 3412498795
commit 11863d6f9a
6 changed files with 8 additions and 20 deletions

View File

@@ -140,7 +140,7 @@ TreeTransformer.prototype = new TreeWalker;
_(AST_Switch, function(self, tw){
self.expression = self.expression.transform(tw);
self.body = self.body.transform(tw);
self.body = do_list(self.body, tw);
});
_(AST_Case, function(self, tw){