public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/35010]  New: preprocessor loses leading whitespace
@ 2008-01-29  9:33 sabre at nondot dot org
  2008-05-15  2:55 ` [Bug preprocessor/35010] " neil at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: sabre at nondot dot org @ 2008-01-29  9:33 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-04-27  1:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-29  9:33 [Bug preprocessor/35010] New: preprocessor loses leading whitespace sabre at nondot dot org
2008-05-15  2:55 ` [Bug preprocessor/35010] " neil at gcc dot gnu dot org
2008-05-15  2:57 ` neil at gcc dot gnu dot org
2009-04-08 17:46 ` b07584 at freescale dot com
2009-04-27  1:31 ` sabre at nondot dot org
2009-04-27  1:32 ` sabre at nondot dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).