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]

r123232 - in /trunk/gcc: ChangeLog gengtype-lex...


Author: zack
Date: Mon Mar 26 22:00:20 2007
New Revision: 123232

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123232
Log:
	* gengtype-lex.l: Distinguish unions from structures in the
	token type.  Don't call find_structure; return the tag as a string.
	* gengtype-yacc.y: Add new token types ENT_TYPEDEF_UNION and ENT_UNION.
	Type of these, ENT_TYPEDEF_STRUCT, and ENT_STRUCT is string.
	Reorganize typedef_struct production accordingly.
	Use create_nested_ptr_option.
	* gengtype.c (create_nested_ptr_option): New function.
	* gengtype.h: Declare it.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gengtype-lex.l
    trunk/gcc/gengtype-yacc.y
    trunk/gcc/gengtype.c
    trunk/gcc/gengtype.h


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