diff options
author | Mihai Bazon <mihai@bazon.net> | 2013-05-14 10:41:28 +0300 |
---|---|---|
committer | Mihai Bazon <mihai@bazon.net> | 2013-05-14 10:42:34 +0300 |
commit | d56ebd7d7b8de0b46ce203b580df28d76fa16692 (patch) | |
tree | 403409d74658fbaf0ea6fdef24f10d0dfc94bf8d /lib/parse.js | |
parent | 3edfe7d0ee644a5ea0383fe02152b4f7f578cfcb (diff) | |
download | tracifyjs-d56ebd7d7b8de0b46ce203b580df28d76fa16692.tar.gz tracifyjs-d56ebd7d7b8de0b46ce203b580df28d76fa16692.zip |
Fix a["1_1"]
Close #204
Diffstat (limited to 'lib/parse.js')
-rw-r--r-- | lib/parse.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/parse.js b/lib/parse.js index c8c5d0a0..a687495b 100644 --- a/lib/parse.js +++ b/lib/parse.js @@ -170,6 +170,7 @@ function is_identifier_char(ch) { function is_identifier_string(str){ var i = str.length; if (i == 0) return false; + if (is_digit(str.charCodeAt(0))) return false; while (--i >= 0) { if (!is_identifier_char(str.charAt(i))) return false; |