Subject: CVS commit: src/gnu/dist/toolchain/gcc
To: None <source-changes@netbsd.org>
From: Krister Walfridsson <kristerw@netbsd.org>
List: source-changes
Date: 05/26/2003 00:03:52
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.