Skip to content

Commit

Permalink
[patch] Replace "mod" with "rem" in primop_2expr_keyword rule (#277)
Browse files Browse the repository at this point in the history
* [patch] Replace "mod" with "rem" in primop_2expr_keyword rule

* Add a note in the revision history about the grammar change
  • Loading branch information
nathsou authored Feb 2, 2025
1 parent 4195a9d commit 9205506
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions revision-history.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ revisionHistory:
# additions to the specification should append entries here.
thisVersion:
spec:
- Correct grammar for modulus primitive operator.
abi:
# Information about the old versions. This should be static.
oldVersions:
Expand Down
2 changes: 1 addition & 1 deletion spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -4584,7 +4584,7 @@ primop_1expr_keyword =
| "andr" | "orr" | "xorr" ;
primop_2expr_keyword =
"add" | "sub" | "mul" | "div" | "mod"
"add" | "sub" | "mul" | "div" | "rem"
| "lt" | "leq" | "gt" | "geq" | "eq" | "neq"
| "dshl" | "dshr"
| "and" | "or" | "xor" | "cat" ;
Expand Down

0 comments on commit 9205506

Please sign in to comment.