Discussion List Archives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another suggestion for the BNF

  • Subject: Re: Another suggestion for the BNF
  • From: Nick Spadaccini <nick@xxxxxxxxxxxxx>
  • Date: Mon, 1 Jul 2002 07:35:51 +0100 (BST)
On Mon, 1 Jul 2002, James Hester wrote:

> Ralf and I have detected what appears to be another problem with the
> BNF, this time in regard to embedded quotes.   Consider the following
> bit of text:
> 
> data_1A4U
> #
> _site.id _site.details
> 'ND'' 'NAD/NADP SELECTIVITY AMINO ACID.'
> #

> One idea for a fix:
> 
> <S_quote_string> ::=
>   { <S_quote> <non_blank_char> | <not_a_S_quote>} * <S_quote> *

Yep that works, and looks like the simplest change.

I will update the BNF shortly - within the hour.

-- 
cheers

Nick

--------------------------------
Dr N. Spadaccini                           Deputy Head of Department

Department of Computer Science &            voice: +(61 8) 9380 3452
Software Engineering                          fax: +(61 8) 9380 1089
University of Western Australia            email: nick@cs.uwa.edu.au            
35 Stirling Highway                      w3: www.cs.uwa.edu.au/~nick
CRAWLEY, Perth,  WA  6009             
AUSTRALIA                               CRICOS Provider Code: 00126G


Reply to: [list | sender only]
International Union of Crystallography

Scientific Union Member of the International Science Council (admitted 1947). Member of CODATA, the ISC Committee on Data. Partner with UNESCO, the United Nations Educational, Scientific and Cultural Organization in the International Year of Crystallography 2014.

International Science Council Scientific Freedom Policy

The IUCr observes the basic policy of non-discrimination and affirms the right and freedom of scientists to associate in international scientific activity without regard to such factors as ethnic origin, religion, citizenship, language, political stance, gender, sex or age, in accordance with the Statutes of the International Council for Science.