aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppexp.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>2000-08-02 07:08:49 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-08-02 07:08:49 +0000
commit5ef865d5709f9c917e1152ee5246906983e23725 (patch)
tree5449dc33f09873b105cb47551859fae03a5f1a89 /gcc/cppexp.c
parenta7a4fd1776384e896797de1f06773ca1e7e908d4 (diff)
downloadgcc-5ef865d5709f9c917e1152ee5246906983e23725.zip
gcc-5ef865d5709f9c917e1152ee5246906983e23725.tar.gz
gcc-5ef865d5709f9c917e1152ee5246906983e23725.tar.bz2
cppexp.c, [...]: Do not use 'legal' or 'illegal' in error messages and comments.
* cppexp.c, cppinit.c, cpplex.c, cpplib.c, cppmacro.c, cppspec.c: Do not use 'legal' or 'illegal' in error messages and comments. * cppmain.c (cb_define, cb_undef): Don't generate any output if not done_initializing. * cpplex.c (maybe_paste_with_next): When the token after a ## is an omitted rest argument, only delete the token before it if that token is a comma. Do not warn about bogus token pastes for , ## rest_arg. * cpp.texi: Update. * cpp.1: Regenerate. * gcc.dg/cpp/macsyntx.c: Fix error regexp. From-SVN: r35421
Diffstat (limited to 'gcc/cppexp.c')
-rw-r--r--gcc/cppexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppexp.c b/gcc/cppexp.c
index b344247..18f494f 100644
--- a/gcc/cppexp.c
+++ b/gcc/cppexp.c
@@ -193,7 +193,7 @@ parse_number (pfile, tok)
{
/* Check for a floating point constant. Note that float constants
with an exponent or suffix but no decimal point are technically
- illegal (C99 6.4.4.2) but accepted elsewhere. */
+ invalid (C99 6.4.4.2) but accepted elsewhere. */
if ((c == '.' || c == 'F' || c == 'f')
|| (base == 10 && (c == 'E' || c == 'e')
&& p+1 < end && (p[1] == '+' || p[1] == '-'))