From: Mihai Bazon Date: Fri, 12 Jul 2013 06:56:58 +0000 (+0300) Subject: Fix typo. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=fc9ba323c475b107503f408af7fca19cb31a20f4;p=UglifyJS.git Fix typo. Close #239 --- diff --git a/lib/parse.js b/lib/parse.js index e561ab67..48ab2167 100644 --- a/lib/parse.js +++ b/lib/parse.js @@ -255,7 +255,7 @@ function tokenizer($TEXT, filename) { }; function token(type, value, is_comment) { - S.regex_allowed = ((type == "operator" && !UNARY_POSTFIX[value]) || + S.regex_allowed = ((type == "operator" && !UNARY_POSTFIX(value)) || (type == "keyword" && KEYWORDS_BEFORE_EXPRESSION(value)) || (type == "punc" && PUNC_BEFORE_EXPRESSION(value))); var ret = {