This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r135022 - in /branches/named-addr-spaces-branch...


Author: bje
Date: Wed May  7 05:48:59 2008
New Revision: 135022

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135022
Log:
First phase of cleaning up the front-end parsing __ea.

	* c-common.h (RID_EA): Remove.
	* c-parser.c (reswords): Remove "__ea"/RID_EA entry.
	(enum c_id_kind): Add C_ID_ADDRSPACE.
	(legitimate_addr_space): New (for now).
	(c_lex_one_token): Handle C_ID_ADDRSPACE tokens in the lexer.
	(c_token_starts_typename): Add C_ID_ADDRPSACE case.
	Remove RID_EA keyword case.
	(c_token_starts_declspecs): Add C_ID_ADDRSPACE case.
	Likewise, remove RID_EA keyword case.
	(c_parser_declspecs): Handle C_ID_ADDRSPACE.
	Remove sundry handling of RID_EA keyword.
	(c_parser_objc_selector): Likewise.
	* c-tree.h (declspecs_add_addrspace): New.
	* c-decl.c (declspecs_add_addrspace): Likewise.
	(declspecs_add_qual): Remove RID_EA case.

Modified:
    branches/named-addr-spaces-branch/gcc/ChangeLog.named
    branches/named-addr-spaces-branch/gcc/c-common.h
    branches/named-addr-spaces-branch/gcc/c-decl.c
    branches/named-addr-spaces-branch/gcc/c-parser.c
    branches/named-addr-spaces-branch/gcc/c-tree.h


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]