OSDN Git Service

* vec.h: Remove all #if IN_GENGTYPE blocks.
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Mar 2007 20:49:17 +0000 (20:49 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Mar 2007 20:49:17 +0000 (20:49 +0000)
commit696e777373d6261773f9df6d6f9a89de5b832d26
tree5c5425e795d5f2118efc197d6f1f21ff945b4933
parent892ddc0ba0bf5e6599754eb41d36373c28c6dafd
* vec.h: Remove all #if IN_GENGTYPE blocks.
Add comment saying that changes may require adjustments to gengtype.
* gengtype.c: Don't include coretypes.h or tm.h.
Add comment to inclusion of errors.h.
(note_def_vec, note_def_vec_alloc): New functions.
* gengtype.h: Declare new functions.
* gengtype-lex.l: Don't include coretypes.h.
(YY_INPUT, macro_input, push_macro_expansion, mangle_macro_name):
Delete.
(update_lineno): Remove unnecessary prototype.
(DEF_VEC_* rules): Simplify using note_def_vec / note_def_vec_alloc.
(VEC rule): Just return VEC_TOKEN.
* gengtype-yacc.y (VEC_TOKEN): New token type.
(type): Add a production for VEC(a,b).
* Makefile.in: Update dependencies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123229 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/gengtype-lex.l
gcc/gengtype-yacc.y
gcc/gengtype.c
gcc/gengtype.h
gcc/vec.h