(* * This formulation of the CIF2-file production accepts the end of the * input as whitespace for the purpose of satisfying the CIF 2.0 * requirement that the version comment be followed by whitespace. * It incorporates the CIF 2.0 limitation (also in CIF 1.1) that no * line of a CIF may exceed 2048 characters. *) CIF2-file = ( file-heading, [ line-term, [ wspace-any, data-block, { wspace, data-block } ], [ wspace ], [ comment ] ] ) - ( { allchars }, 2049 * char, { allchars } ); file-heading = [ ?U+FEFF? ], magic-code, { inline-wspace } ;