This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH RFA: Move STATEMENT_CODE_P into C++ frontend
- From: Richard Henderson <rth at redhat dot com>
- To: Ian Lance Taylor <ian at airs dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 11 May 2005 21:57:16 -0700
- Subject: Re: PATCH RFA: Move STATEMENT_CODE_P into C++ frontend
- References: <20050511133511.19416.qmail@gossamer.airs.com>
On Wed, May 11, 2005 at 09:35:11AM -0400, Ian Lance Taylor wrote:
> * c-common.h (statement_code_p): Don't declare.
> (STATEMENT_CODE_P): Don't define.
> (INIT_STATEMENT_CODES): Don't define.
> * c-common.c (statement_code_p): Don't define.
>
> * cp-tree.h (cp_stmt_codes): Don't define.
> (statement_code_p): Declare.
> (STATEMENT_CODE_P): Define.
> * lex.c (statement_code_p): Define.
> (cxx_init): Use actual codes in stmt_codes initializer, not
> cp_stmt_codes macro. Initialize statement_code_p directly, rather
> than using INIT_STATEMENT_CODES.
Ok.
r~