aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Bazon <mihai@bazon.net>2013-07-12 09:56:58 +0300
committerMihai Bazon <mihai@bazon.net>2013-07-12 09:56:58 +0300
commitfc9ba323c475b107503f408af7fca19cb31a20f4 (patch)
treeb5b1b66378952847ea8ce3155e10498071620d01
parentd0689c81bb859ac78a966c526073dcc50a8ccde9 (diff)
downloadtracifyjs-fc9ba323c475b107503f408af7fca19cb31a20f4.tar.gz
tracifyjs-fc9ba323c475b107503f408af7fca19cb31a20f4.zip
Fix typo.
Close #239
-rw-r--r--lib/parse.js2
1 files changed, 1 insertions, 1 deletions
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 = {