Mail Archives: djgpp/1994/06/21/00:21:07
From: jes AT mbio DOT med DOT upenn DOT edu (Joe Smith)
> The DEC Alpha C compiler objects to every CR in a CR/LF-delimited file.
Gee, and I thought whitespace in C programs wasn't significant, ever
since K&R. Shows how confused *I* can get! ;-)
<Joe
Yep, you are. I don't know about ANSI, but the only reference to
whitespace I found in a 15 second look at the K&R index was to the
whitespace counting program, where '\r' is not considered white space.
I seem to recall that in ANSI C there must be a newline delimiter,
in ASCII it's conventionally '\010', and a space character, in ASCII
'\020', but doesn't say anything about other whitespace characters,
which are implmentation-dependent.
--Steve "just a couple yen worth" Turnbull
- Raw text -