aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/scope.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/scope.js b/lib/scope.js
index cce0f3c5..1ce17fa6 100644
--- a/lib/scope.js
+++ b/lib/scope.js
@@ -365,6 +365,10 @@ AST_Toplevel.DEFMETHOD("mangle_names", function(options){
node.mangled_name = name;
return true;
}
+ if (options.screw_ie8 && node instanceof AST_SymbolCatch) {
+ to_mangle.push(node.definition());
+ return;
+ }
});
this.walk(tw);
to_mangle.forEach(function(def){ def.mangle(options) });