Just one last funtion of my homework \!
This commit is contained in:
parent
3260d8704e
commit
f89462e25e
5 changed files with 79 additions and 11 deletions
|
|
@ -424,7 +424,7 @@ module.exports = grammar({
|
|||
$._arithmetic_expression,
|
||||
)),
|
||||
prec(PREC.UNARY, seq(
|
||||
field('op', alias(tokenLiterals(1, '-', '+', '~'), $.operator)),
|
||||
field('op', alias(tokenLiterals(1, '-', '+'), $.operator)),
|
||||
$._arithmetic_expression,
|
||||
)),
|
||||
prec.right(PREC.UNARY, seq(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue