public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0689c8
)
Fix typo.
author
Mihai Bazon
<mihai@bazon.net>
Fri, 12 Jul 2013 06:56:58 +0000
(09:56 +0300)
committer
Mihai Bazon
<mihai@bazon.net>
Fri, 12 Jul 2013 06:56:58 +0000
(09:56 +0300)
Close #239
lib/parse.js
patch
|
blob
|
history
diff --git
a/lib/parse.js
b/lib/parse.js
index
e561ab6
..
48ab216
100644
(file)
--- 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 = {