Skip to content

Commit ebb80d2

Browse files
committed
[arithmetic-expression] Missing integer division grammar rule.
1 parent 4daa6b5 commit ebb80d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

GRAMMAR.ABNF

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,8 @@ arithmetic-expression = expression "%" expression ; % %x37 \
207207
arithmetic-expression =/ expression ( "*" / "×" ) expression ; * %x42 ×  %xD7 \
208208
arithmetic-expression =/ expression "+" expression ; + %x43 \
209209
arithmetic-expression =/ expression ( "-" / "" ) expression ; - %x45 – %x2212 \
210-
arithmetic-expression =/ expression ( "/" / "÷" ) expression ; / %x47 ÷
210+
arithmetic-expression =/ expression ( "/" / "÷" ) expression ; / %x47 ÷ \
211+
arithmetic-expression = expression "//" expression ; // %47 %47
211212
;; An `arithmetic-expression` enables simple computations using the four basic operations,
212213
;; as well as the modulo and integer-division operations.
213214
;;

0 commit comments

Comments
 (0)