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

@@ -718,9 +718,6 @@ function OutputStream(options) {
self.expression.print(output);
});
output.space();
self.body.print(output);
});
DEFPRINT(AST_SwitchBlock, function(self, output){
if (self.body.length > 0) output.with_block(function(){
self.body.forEach(function(stmt, i){
if (i) output.newline();