Article View: comp.std.c
Article #4193Re: Maximum length of line of C code
From: Dave Mooney
Date: Thu, 05 Oct 1995 23:46
Date: Thu, 05 Oct 1995 23:46
19 lines
1295 bytes
1295 bytes
Nick Maclaren <nmm1@cus.cam.ac.uk> wrote: > However, be warned that trailing spaces and tabs disable it as a line > continuation character. Actually, trailing spaces and tabs *can* disable it as a line continuation character (but don't have to), for the reason you mention below: > note that the standard does not define > how non-trivial end-of-line indicators are represented. An implementation could well define the end-of-line indicator to be "an arbitrary number of spaces followed by a newline", so code that has those trailing tabs and spaces is still conforming. Note that this is how implementations on record-oriented architectures like IBM big iron get around the lack of a newline character. dave -- Dave Mooney | IBM Toronto Lab | "We see the fish below the ice sometimes."
Technical Details
Message-ID:
<451qot$lk6@tornews.torolab.ibm.com>Path:
arc1-ca.pugleaf.net!neutron.torolab.ibm.com!dmmReferences:
<44qg8v$s1m@ixnews2.ix.netcom.com> <44t7ht$ms2@nyx10.cs.du.edu> <44tvqb$9pr@lyra.csx.cam.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!neutron.torolab.ibm.com!dmm From: dmm@neutron.torolab.ibm.com (Dave Mooney) Newsgroups: comp.std.c Subject: Re: Maximum length of line of C code Date: 5 Oct 1995 23:46:37 GMT Organization: IBM Software Solutions Toronto Message-ID: <451qot$lk6@tornews.torolab.ibm.com> References: <44qg8v$s1m@ixnews2.ix.netcom.com> <44t7ht$ms2@nyx10.cs.du.edu> <44tvqb$9pr@lyra.csx.cam.ac.uk> Reply-To: dmm@vnet.ibm.com (Dave Mooney) NNTP-Posting-Host: neutron.torolab.ibm.com