[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reply to: [list | sender only]
Re: Problems with CIF BNF
- To: "Discussion list of the IUCr Committee for the Maintenance of the CIFStandard (COMCIFS)" <comcifs@iucr.org>
- Subject: Re: Problems with CIF BNF
- From: Joe Krahn <krahn@niehs.nih.gov>
- Date: Tue, 13 Mar 2007 08:52:33 -0400
- In-Reply-To: <a06230904c21bb879317d@[192.168.2.101]>
- References: <45F5918A.4030602@niehs.nih.gov> <a06230902c21b5216f07d@[192.168.10.211]> <45F5B86D.7090100@niehs.nih.gov><a06230904c21bb879317d@[192.168.2.101]>
To answer my own question about end-of-line and end-of-file issues, I found that the section on <EOL> discusses the case of an unterminated last line, as well as new-line character differences. The actual behavior is undefined for anything except lines ending in native new-line marks, but with a suggestion that foreign new-lines and various types of line termination at EOF should be tolerated. In general, it is better to think of CIF as a series of line-records where trailing spaces is insignificant (i.e. Fortran I/O). Likewise, it might be better to think of multi-line strings as a list/array of strings. The current definition is messy, where a single final backslash has no significance. Joe
Reply to: [list | sender only]
- Follow-Ups:
- Re: Problems with CIF BNF (Brian McMahon)
- References:
- Problems with CIF BNF (Joe Krahn)
- Re: Problems with CIF BNF (Herbert J. Bernstein)
- Re: Problems with CIF BNF (Joe Krahn)
- Re: Problems with CIF BNF (Herbert J. Bernstein)
- Prev by Date: Re: Problems with CIF BNF
- Next by Date: Time to drop STAR?
- Prev by thread: Re: Problems with CIF BNF
- Next by thread: Re: Problems with CIF BNF
- Index(es):