]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR preprocessor/8120 (cpp concatenation doesn't work as described)
authorNeil Booth <neil@daikokuya.co.uk>
Sat, 5 Oct 2002 09:36:28 +0000 (09:36 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sat, 5 Oct 2002 09:36:28 +0000 (09:36 +0000)
PR preprocessor/8120
* doc/cpp.texi: Update documentation of bad use of ##.

From-SVN: r57842

gcc/ChangeLog
gcc/doc/cpp.texi

index b0ad9e9b7290b6ce1eaba4950233fc255fa87d7d..bb6bcf22626e9f4e9df62e3c7110b0f1372e73e8 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-05  Neil Booth  <neil@daikokuya.co.uk>
+
+       PR preprocessor/8120
+       * doc/cpp.texi: Update documentation of bad use of ##.
+
 Thu Oct  3 23:15:15 CEST 2002  Jan Hubicka  <jh@suse.cz>
 
        * i386.h (CPP_SPECS): fix defines for -msse, -msse2, -mpentium2,3.
index 16f820f083f48859c9b33eadbfe64e8261cf3da6..39e6a28762821697da9a883e0e549b0cf7474da0 100644 (file)
@@ -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