Skip to content
Snippets Groups Projects
Commit 51444f0d authored by chelf's avatar chelf
Browse files

* 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
parent edb5e81d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment