* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34577 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/ChangeLog 13 additions, 1 deletiongcc/ChangeLog
- gcc/c-common.c 49 additions, 0 deletionsgcc/c-common.c
- gcc/c-common.h 13 additions, 0 deletionsgcc/c-common.h
- gcc/c-lex.c 2 additions, 0 deletionsgcc/c-lex.c
- gcc/cp/ChangeLog 12 additions, 1 deletiongcc/cp/ChangeLog
- gcc/cp/cp-tree.h 1 addition, 2 deletionsgcc/cp/cp-tree.h
- gcc/cp/lex.c 10 additions, 12 deletionsgcc/cp/lex.c
Loading
Please register or sign in to comment