comment style
Guido van Rossum
guido at cwi.nl
Wed Jan 9 00:57:41 AEST 1991
In comp.std.c you write:
>[...] When you have end-of-line comments
>there's no need for continuation characters. *All* characters are
>ignored between // and newline inclusive.
Your assumption (which you mention in several of your postings) is that
newline is not significant to the C compiler. But it is to the
preprocessor because #include etc. must be at the start of a line.
The following example does not #include <stdio.h>:
/* This line is continued... */ \
#include <stdio.h>
--
Guido van Rossum, CWI, Amsterdam <guido at cwi.nl>
"Pablo Picasso was never called an asshole"
More information about the Comp.std.c
mailing list