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

@@ -127,7 +127,7 @@ AST_Toplevel.DEFMETHOD("figure_out_scope", function(){
if (p instanceof AST_For
|| p instanceof AST_ForIn
|| p instanceof AST_DWLoop
|| p instanceof AST_Switch) {
|| p instanceof AST_SwitchBranch) {
node.loopcontrol_target = p.body;
break;
}