Randy Presuhn <randy_pres...@mindspring.com> wrote: > Hi - > > >From: Martin Bjorklund <m...@tail-f.com> > >Sent: Oct 22, 2015 6:20 AM > >To: lho...@nic.cz > >Cc: netmod@ietf.org > >Subject: Re: [netmod] Yang 1.0/1.1 ABNF Grammar: <a string that matches the > >rule ...> > ... > >> > 2. Similarly for import-stmt. Should this have a comment indicating > >> > that prefix-stmt or revision-date-stmt can appear in any order? > >> > > >> > import-stmt = import-keyword sep identifier-arg-str optsep > >> > "{" stmtsep > >> > prefix-stmt > >> > [revision-date-stmt] > >> > "}" stmtsep > >> > >> Here it IMO makes little sense to require fixed order. > > > >Correct. I have added the comment to this statement as well. > > Just trying to understand... what problem is solved by > making the grammar more complex here?
Do you mean for this particular statement? The idea is that we shouldn't mandate an order among statements unless there is some reason for doing so. Almost all statements are unordered, and it was simply a bug that we missed this one. /martin _______________________________________________ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod