Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/gnu/dist/toolchain/gcc
Module Name: src
Committed By: kristerw
Date: Mon May 26 00:03:51 UTC 2003
Modified Files:
src/gnu/dist/toolchain/gcc: cccp.c
Log Message:
Handle comments in macros when the -C flag is specified to the
pre-processor.
This makes code of the form
#define FOO(X) (BAR(X))
#define BAR(X) (X)
#define BAZ 23 /* comment, comment. */
int foo(void) { return FOO(BAZ); }
be output as expected. (The old behaviour got confused by the ','
within the comment.)
To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/gnu/dist/toolchain/gcc/cccp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index