Skip to content

Commit 7184ff4

Browse files
motet-aisaacs
authored andcommitted
range.bnf: Remove unnecessary empty entry
Because `primitive` is only used along with `partial`, it's unnecessary to include `partial` as-is in the definition of `primitive`.
1 parent 0877c94 commit 7184ff4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

range.bnf

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ logical-or ::= ( ' ' ) * '||' ( ' ' ) *
33
range ::= hyphen | simple ( ' ' simple ) * | ''
44
hyphen ::= partial ' - ' partial
55
simple ::= primitive | partial | tilde | caret
6-
primitive ::= ( '<' | '>' | '>=' | '<=' | '=' | ) partial
6+
primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial
77
partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )?
88
xr ::= 'x' | 'X' | '*' | nr
99
nr ::= '0' | ['1'-'9'] ( ['0'-'9'] ) *

0 commit comments

Comments
 (0)