aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/compress.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compress.js b/lib/compress.js
index 144a5334..4da13758 100644
--- a/lib/compress.js
+++ b/lib/compress.js
@@ -904,6 +904,7 @@ merge(Compressor.prototype, {
reset_variables(tw, compressor, fn);
descend();
pop(tw);
+ if (fn.name) mark_escaped(tw, fn.name.definition(), fn, fn.name, fn, 0, 1);
walk_defuns(tw, fn);
}
return true;