aboutsummaryrefslogtreecommitdiff
path: root/lib/parse.js
diff options
context:
space:
mode:
authorMihai Bazon <mihai.bazon@gmail.com>2016-03-24 18:16:26 +0200
committerMihai Bazon <mihai.bazon@gmail.com>2016-03-24 18:16:26 +0200
commitf68de86a174530a1e796eabbf872633a01485900 (patch)
tree511d2ea778f932f0c452d9755ff13789fa4fd384 /lib/parse.js
parentc3c7587796e0edf07f834ff75924d811fee0af0d (diff)
parent21befe583ffac6a9c27c8e9d67eae39feb5b528f (diff)
downloadtracifyjs-f68de86a174530a1e796eabbf872633a01485900.tar.gz
tracifyjs-f68de86a174530a1e796eabbf872633a01485900.zip
Merge pull request #1011 from kzc/dont-produce-let-in-mangle
Do not produce `let` as a variable name in mangle.
Diffstat (limited to 'lib/parse.js')
-rw-r--r--lib/parse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parse.js b/lib/parse.js
index f1495153..f16d092b 100644
--- a/lib/parse.js
+++ b/lib/parse.js
@@ -46,7 +46,7 @@
var KEYWORDS = 'break case catch const continue debugger default delete do else finally for function if in instanceof new return switch throw try typeof var void while with';
var KEYWORDS_ATOM = 'false null true';
-var RESERVED_WORDS = 'abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized this throws transient volatile yield'
+var RESERVED_WORDS = 'abstract boolean byte char class double enum export extends final float goto implements import int interface let long native package private protected public short static super synchronized this throws transient volatile yield'
+ " " + KEYWORDS_ATOM + " " + KEYWORDS;
var KEYWORDS_BEFORE_EXPRESSION = 'return new delete throw else case';