Skip to content

Commit

Permalink
fix: remove === operator
Browse files Browse the repository at this point in the history
  • Loading branch information
roife authored and tonyfettes committed Mar 12, 2024
1 parent d08f25a commit 5780134
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const
pipe_operator = '|>',
multiplicative_operators = ['*', '/', '%'],
additive_operators = ['+', '-'],
comparative_operators = ['>', '>=', '<=', '<', '==', '!=', '==='],
comparative_operators = ['>', '>=', '<=', '<', '==', '!='],
assignment_operators = ['=', '+=', '-=', '*=', '/='],

terminator = choice('\n', ';', '\0')
Expand Down
4 changes: 0 additions & 4 deletions src/grammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -1495,10 +1495,6 @@
{
"type": "STRING",
"value": "!="
},
{
"type": "STRING",
"value": "==="
}
]
},
Expand Down
4 changes: 0 additions & 4 deletions src/node-types.json
Original file line number Diff line number Diff line change
Expand Up @@ -2147,10 +2147,6 @@
"type": "==",
"named": false
},
{
"type": "===",
"named": false
},
{
"type": "=>",
"named": false
Expand Down
Binary file modified src/parser.c
Binary file not shown.

0 comments on commit 5780134

Please sign in to comment.