fix double-descend()

for `AST_Export` in `AST_Toplevel.figure_out_scope()`
This commit is contained in:
alexlamsl
2017-02-27 06:06:09 +08:00
parent 7755733716
commit d2d3a6e065

View File

@@ -144,6 +144,7 @@ AST_Toplevel.DEFMETHOD("figure_out_scope", function(options){
in_export = true;
descend();
in_export = false;
return true;
}
if (node instanceof AST_LabeledStatement) {
var l = node.label;