From 214935b425b7a6f045a3dab12db4018c8e8b615c Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sat, 5 Oct 2002 09:36:28 +0000 Subject: [PATCH] re PR preprocessor/8120 (cpp concatenation doesn't work as described) PR preprocessor/8120 * doc/cpp.texi: Update documentation of bad use of ##. From-SVN: r57842 --- gcc/ChangeLog | 5 +++++ gcc/doc/cpp.texi | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b0ad9e9b7290..bb6bcf22626e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-10-05 Neil Booth + + PR preprocessor/8120 + * doc/cpp.texi: Update documentation of bad use of ##. + Thu Oct 3 23:15:15 CEST 2002 Jan Hubicka * i386.h (CPP_SPECS): fix defines for -msse, -msse2, -mpentium2,3. diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi index 16f820f083f4..39e6a2876282 100644 --- a/gcc/doc/cpp.texi +++ b/gcc/doc/cpp.texi @@ -3736,9 +3736,9 @@ Here are a few more obsolete features. @item Attempting to paste two tokens which together do not form a valid preprocessing token. -The preprocessor currently warns about this and outputs the two tokens -adjacently, which is probably the behavior the programmer intends. It -may not work in future, though. +The preprocessor currently warns about this, and the resulting +preprocessed output is undefined. The tokens remain distinct if the +preprocessor is being used directly by the compiler front end. Most of the time, when you get this warning, you will find that @samp{##} is being used superstitiously, to guard against whitespace appearing -- 2.47.2