aboutsummaryrefslogtreecommitdiff
path: root/lib/compress.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compress.js')
-rw-r--r--lib/compress.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compress.js b/lib/compress.js
index e12c5eb0..bea9c9a4 100644
--- a/lib/compress.js
+++ b/lib/compress.js
@@ -341,7 +341,7 @@ merge(Compressor.prototype, {
pop();
return true;
}
- if (node instanceof AST_Catch) {
+ if (node instanceof AST_Catch || node instanceof AST_SwitchBranch) {
push();
descend();
pop();