Improve handling of JS

This commit is contained in:
Wilson Lin 2020-01-09 00:41:47 +11:00
commit 204bd950a4
2 changed files with 12 additions and 6 deletions

View file

@ -1,6 +1,7 @@
{
"js punctuators": {
"value_type": "bool",
"//": "Some values are missing here because they are manually handled in `process_js_script` function.",
"values": {
"!": "true",
"!=": "true",
@ -10,8 +11,6 @@
"&": "true",
"&&": "true",
"&=": "true",
"(": "true",
")": "true",
"*": "true",
"**": "true",
"**=": "true",
@ -23,10 +22,7 @@
"-": "true",
"--": "true",
"-=": "true",
".": "true",
"...": "true",
"/": "true",
"/=": "true",
":": "true",
";": "true",
"<": "true",
@ -45,7 +41,6 @@
">>>=": "true",
"?": "true",
"[": "true",
"]": "true",
"^": "true",
"^=": "true",
"{": "true",