Skip to content

Commit

Permalink
Fix grammar: use nt symbol for modulo operator
Browse files Browse the repository at this point in the history
  • Loading branch information
sthiele committed Apr 30, 2024
1 parent 1265ed9 commit 9a2a4ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ module.exports = grammar({
prec.left(4, seq($.term, $.SUB, $.term)),
prec.left(3, seq($.term, $.MUL, $.term)),
prec.left(3, seq($.term, $.SLASH, $.term)),
prec.left(3, seq($.term, '\\\\', $.term)),
prec.left(3, seq($.term, $.MOD, $.term)),
prec.right(2, seq($.term, $.POW, $.term)),
prec.left(1, seq($.SUB, $.term)),
prec.left(1, seq($.BNOT, $.term)),
Expand Down

0 comments on commit 9a2a4ac

Please sign in to comment.