diff options
author | Mihai Bazon <mihai@bazon.net> | 2014-04-24 10:56:57 +0300 |
---|---|---|
committer | Mihai Bazon <mihai@bazon.net> | 2014-04-24 10:56:57 +0300 |
commit | 8669ca219b8e271c5b822f89f46d16067f0802cd (patch) | |
tree | eb8aa15ada2a0249aa5e6c21e36120517e36cea2 /lib | |
parent | 37693d2812ee2e5555dbdf1712e7e3f85d64d870 (diff) | |
parent | 71652690b6151596d704b290a1fe33e50e193b29 (diff) | |
download | tracifyjs-8669ca219b8e271c5b822f89f46d16067f0802cd.tar.gz tracifyjs-8669ca219b8e271c5b822f89f46d16067f0802cd.zip |
Merge branch 'master' of github.com:mishoo/UglifyJS2
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mozilla-ast.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mozilla-ast.js b/lib/mozilla-ast.js index d7950942..bc24dfd6 100644 --- a/lib/mozilla-ast.js +++ b/lib/mozilla-ast.js @@ -51,7 +51,7 @@ start : my_start_token(M), end : my_end_token(M), body : from_moz(M.block).body, - bcatch : from_moz(M.handlers[0]), + bcatch : from_moz(M.handlers ? M.handlers[0] : M.handler), bfinally : M.finalizer ? new AST_Finally(from_moz(M.finalizer)) : null }); }, |