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

zack@gcc.gnu.org zack@gcc.gnu.org
Mon Mar 26 21:00:00 GMT 2007


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



More information about the Gcc-cvs mailing list