summaryrefslogtreecommitdiff
path: root/grammar
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2026-03-10 17:29:33 +0100
committerThomas Voss <mail@thomasvoss.com> 2026-03-10 17:29:33 +0100
commit57e3f53598059dd4553ee0f5933ca60a11ad6d91 (patch)
treeb8fef6589ce66c80631a977cfe3fbe88069a10fe /grammar
parentf7b9ea9ccfd8be8c2633b4d02dbc3207c2e3d354 (diff)
Add the divrem (/%) operator
Diffstat (limited to 'grammar')
-rw-r--r--grammar1
1 files changed, 1 insertions, 0 deletions
diff --git a/grammar b/grammar
index 5fa2e73..2042e97 100644
--- a/grammar
+++ b/grammar
@@ -48,6 +48,7 @@ binary-op
| "-"
| "*"
| "/"
+ | "/%" /* Divrem */
| "%" /* Remainder */
| "%%" /* Modulus */
| "~" /* XOR */