Poorly terminated header files.

chris at umcp-cs.UUCP chris at umcp-cs.UUCP
Thu Jul 17 12:20:00 AEST 1986


In article <5722 at think.COM> rst at think.COM (Robert Thau) writes:
>What does X3J11 say about these cases, if anything?  The last time I
>looked at a draft standard, __LINE__ and __FILE__ were in it; what are
>their values on the split line, if such things are allowed?

`The last character in a source file included by a #include
preprocessing directive shall be a new-line character that is not
part of a token.'

I recall, but cannot find, a statement to the effect that an
unterminated line in an included file is essentially a syntax
error.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 1516)
UUCP:	seismo!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris at mimsy.umd.edu



More information about the Comp.lang.c mailing list