Skip to content

Commit

Permalink
range.bnf: Remove unnecessary empty entry
Browse files Browse the repository at this point in the history
Because `primitive` is only used along with `partial`, it's unnecessary
to include `partial` as-is in the definition of `primitive`.
  • Loading branch information
motet-a authored and isaacs committed Jul 25, 2017
1 parent 0877c94 commit 7184ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion range.bnf
Expand Up @@ -3,7 +3,7 @@ logical-or ::= ( ' ' ) * '||' ( ' ' ) *
range ::= hyphen | simple ( ' ' simple ) * | ''
hyphen ::= partial ' - ' partial
simple ::= primitive | partial | tilde | caret
primitive ::= ( '<' | '>' | '>=' | '<=' | '=' | ) partial
primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial
partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )?
xr ::= 'x' | 'X' | '*' | nr
nr ::= '0' | ['1'-'9'] ( ['0'-'9'] ) *
Expand Down

0 comments on commit 7184ff4

Please sign in to comment.