aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2001-02-08 02:32:06 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2001-02-08 02:32:06 +0000
commit14baf6b5ea5aea8535f6b7d4a830e94a4a427924 (patch)
tree49d296d665dd9bc56bb0d78b7d5f514dca99f2f9 /gcc
parentf4d07b5e44772889b28cc27894b7c1a2e961f4a2 (diff)
downloadgcc-14baf6b5ea5aea8535f6b7d4a830e94a4a427924.zip
gcc-14baf6b5ea5aea8535f6b7d4a830e94a4a427924.tar.gz
gcc-14baf6b5ea5aea8535f6b7d4a830e94a4a427924.tar.bz2
gcc.texi (Incompatibilities): Update documentation of preprocessing numbers.
* gcc.texi (Incompatibilities): Update documentation of preprocessing numbers. From-SVN: r39533
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/gcc.texi8
2 files changed, 10 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f7ad29e..e7fcf7c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-02-08 Joseph S. Myers <jsm28@cam.ac.uk>
+
+ * gcc.texi (Incompatibilities): Update documentation of
+ preprocessing numbers.
+
2001-02-07 Jakub Jelinek <jakub@redhat.com>
* c-decl.c (finish_enum): Revert part of 2000-01-05 change.
diff --git a/gcc/gcc.texi b/gcc/gcc.texi
index 99f2433..bc355d0 100644
--- a/gcc/gcc.texi
+++ b/gcc/gcc.texi
@@ -166,7 +166,7 @@ instead of in the original English.
@sp 2
@center Richard M. Stallman
@sp 3
-@center Last updated 13 January 2001
+@center Last updated 8 February 2001
@sp 1
@c The version number appears five times more in this file.
@@ -1629,8 +1629,10 @@ requires that this be treated as erroneous.
A @dfn{preprocessing token} is a @dfn{preprocessing number} if it
begins with a digit and is followed by letters, underscores, digits,
-periods and @samp{e+}, @samp{e-}, @samp{E+}, or @samp{E-} character
-sequences.
+periods and @samp{e+}, @samp{e-}, @samp{E+}, @samp{E-}, @samp{p+},
+@samp{p-}, @samp{P+}, or @samp{P-} character sequences. (In strict C89
+mode, the sequences @samp{p+}, @samp{p-}, @samp{P+} and @samp{P-} cannot
+appear in preprocessing numbers.)
To make the above program fragment valid, place whitespace in front of
the minus sign. This whitespace will end the preprocessing number.