This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/35010] New: preprocessor loses leading whitespace
- From: "sabre at nondot dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jan 2008 07:51:47 -0000
- Subject: [Bug preprocessor/35010] New: preprocessor loses leading whitespace
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
This testcase:
#define debug(format, ...) format, ## __VA_ARGS__)
debug(X);
debug(Y, 1, 2);
debug(Y, 1, 2 );
debug(Z, );
debug(W,);
Should preprocess to:
X);
Y, 1, 2);
Y, 1, 2);
Z, );
W, );
not:
X);
Y, 1, 2);
Y, 1, 2);
Z,);
W,);
Z/W should have spaces.
--
Summary: preprocessor loses leading whitespace
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sabre at nondot dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35010