]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/lex.c
c-common.c (c_tree_code_type): New array.
authorBenjamin Chelf <chelf@codesourcery.com>
Sat, 17 Jun 2000 02:37:23 +0000 (02:37 +0000)
committerBen Chelf <chelf@gcc.gnu.org>
Sat, 17 Jun 2000 02:37:23 +0000 (19:37 -0700)
commitc7d87c0a58af4fb6906179301c48b89210be835e
tree0de1cb8ed60b2da04d155bdb3c2d0ec60c45632c
parentcf6d5133a14cca405a9d527dc966b8d15415e8e7
c-common.c (c_tree_code_type): New array.

* c-common.c (c_tree_code_type): New array.
        (c_tree_code_length): Likewise.
(c_tree_code_name): Likewise.
(add_c_tree_codes): New function.

        * c-common.h (add_c_tree_codes): Declare.
        (enum c_tree_code): New enum.

* c-lex.c (init_parse): Added call to add_c_tree_codes.

        * cp/cp-tree.h (enum cplus_tree_code): Changed __DUMMY to
CP_DUMMY_TREE_CODE. Remove #include "c-common.def".

* cp/lex.c (cplus_tree_code_type[]): Removed #include "c-common.def".
        (cplus_tree_code_length[]): Likewise.
        (cplus_tree_code_name[]): Likewise.
(init_parse): Added call to add_c_tree_codes. Changed
LAST_AND_UNUSED_TREE_CODE to LAST_C_TREE_CODE.

From-SVN: r34577
gcc/ChangeLog
gcc/c-common.c
gcc/c-common.h
gcc/c-lex.c
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/lex.c
This page took 0.065218 seconds and 5 git commands to generate.