diff options
author | grahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-10 08:49:21 +0000 |
---|---|---|
committer | grahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-10 08:49:21 +0000 |
commit | cf8b3570c0253e13fb945088de561907ceed1de6 (patch) | |
tree | 629c147a32620745735778eb45d99526dfd035c7 /gcc/cp/spew.c | |
parent | 73ce892abf8225af557ed1d72570ff91f533bb09 (diff) | |
download | gcc-cf8b3570c0253e13fb945088de561907ceed1de6.tar.gz |
* spew.c (YYCHAR): Uppercase macro parameter and add
parenthesis.
(YYCODE): Likewise.
(NAME): Uppercase macro parameter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48717 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/spew.c')
-rw-r--r-- | gcc/cp/spew.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cp/spew.c b/gcc/cp/spew.c index 138e23e6145..9f36d06b42b 100644 --- a/gcc/cp/spew.c +++ b/gcc/cp/spew.c @@ -1,6 +1,6 @@ /* Type Analyzer for GNU C++. Copyright (C) 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001 Free Software Foundation, Inc. + 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Hacked... nay, bludgeoned... by Mark Eichin (eichin@cygnus.com) This file is part of GNU CC. @@ -261,8 +261,8 @@ read_token (t) switch (last_token) { -#define YYCHAR(yy) t->yychar = yy; break; -#define YYCODE(c) t->yylval.code = c; +#define YYCHAR(YY) t->yychar = (YY); break; +#define YYCODE(C) t->yylval.code = (C); case CPP_EQ: YYCHAR('='); case CPP_NOT: YYCHAR('!'); @@ -1465,7 +1465,7 @@ debug_yychar (yy) #endif -#define NAME(type) cpp_type2name (type) +#define NAME(TYPE) cpp_type2name (TYPE) void yyerror (msgid) |