vec.h: Remove all #if IN_GENGTYPE blocks.
authorZack Weinberg <zackw@panix.com>
Mon, 26 Mar 2007 20:49:17 +0000 (20:49 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Mon, 26 Mar 2007 20:49:17 +0000 (20:49 +0000)
commit4a399aef3a4ddd508c25f73320646d03dfc08660
tree5c5425e795d5f2118efc197d6f1f21ff945b4933
parentd287ace688a2c48801eb479c7a60948a939c00aa
vec.h: Remove all #if IN_GENGTYPE blocks.

* 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.

From-SVN: r123229
gcc/ChangeLog
gcc/Makefile.in
gcc/gengtype-lex.l
gcc/gengtype-yacc.y
gcc/gengtype.c
gcc/gengtype.h
gcc/vec.h