summaryrefslogtreecommitdiffstats
path: root/gcc/cppmacro.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-08-02 07:08:49 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-08-02 07:08:49 +0000
commite0a859f14e8db1f9145b0ac0db9551cc586509d8 (patch)
tree5449dc33f09873b105cb47551859fae03a5f1a89 /gcc/cppmacro.c
parent9518dbb528f6ae4cccb6efccf983ff7628c6dd09 (diff)
downloadppe42-gcc-e0a859f14e8db1f9145b0ac0db9551cc586509d8.tar.gz
ppe42-gcc-e0a859f14e8db1f9145b0ac0db9551cc586509d8.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35421 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppmacro.c')
-rw-r--r--gcc/cppmacro.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c
index 5ff49a8d4df..b78e5f0fbc2 100644
--- a/gcc/cppmacro.c
+++ b/gcc/cppmacro.c
@@ -127,7 +127,7 @@ count_params (pfile, info)
{
default:
cpp_error_with_line (pfile, token->line, token->col,
- "illegal token in macro parameter list");
+ "token may not appear in macro parameter list");
return;
case CPP_EOF:
@@ -462,7 +462,7 @@ save_expansion (pfile, info)
else
dest->flags = token->flags; /* Particularly PREV_WHITE. */
/* Turn off PREV_WHITE if we immediately follow a paste.
- That way, even if the paste turns out to be illegal, there
+ That way, even if the paste turns out to be invalid, there
will be no space between the two tokens in the output. */
if (token[-1].type == CPP_PASTE)
dest->flags &= ~PREV_WHITE;
OpenPOWER on IntegriCloud