[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reply to: [list | sender only]
Re: Modification to BNF needed for <line_of_text>?
- Subject: Re: Modification to BNF needed for <line_of_text>?
- From: James Hester <jrh@xxxxxxxxxxxx>
- Date: Mon, 1 Jul 2002 05:08:28 +0100 (BST)
Nick writes: > On Mon, 1 Jul 2002, James Hester wrote: > > > the spec to > > > > <line_of_text> ::= <not_a_semi_colon | terminate> <char>* <terminate> > > > > or adding <terminate> to <not_a_semi_colon> > > Neither of these will work will they(?), because the rules above require > two consecutive <terminate>s to match. Whoops. > What you want is > > > <line_of_text> ::= { <not_a_semi_colon> <char>* | epsilon } <terminate> > > epsilon being the empty string or more long winded, > > <line_of_text> ::= {<not_a_semi_colon> <char>* <terminate> | <terminate>} > > Thoughts? Yes, I agree, this rule is better. James. -- _______________________________________________________________________ James Hester, ANBF KEK e-mail: jrh@anbf2.kek.jp Oho 1-1 Phone: +81 298 64 7959 Tsukuba, Ibaraki 305 Fax: +81 298 64 7967 Japan ________________________________________________________________________
Reply to: [list | sender only]
- Prev by Date: Another suggestion for the BNF
- Next by Date: Re: Another suggestion for the BNF
- Prev by thread: Re: Modification to BNF needed for <line_of_text>?
- Next by thread: msCIF dictionary approved
- Index(es):