arineng / jcrvalidator

JSON Content Rules Validator
ISC License
3 stars 5 forks source link

Simplify type-choice-items ABNF #126

Open codalogic opened 5 years ago

codalogic commented 5 years ago
type-choice-items = *sp-cmt ( type-choice / type-rule ) *sp-cmt

can be simplified to:

type-choice-items = *sp-cmt type-rule *sp-cmt

because type-rule has type-choice in it already:

type-rule        = value-rule / type-choice / target-rule-name