diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-26 20:49:17 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-26 20:49:17 +0000 |
commit | 696e777373d6261773f9df6d6f9a89de5b832d26 (patch) | |
tree | 5c5425e795d5f2118efc197d6f1f21ff945b4933 /gcc/gengtype.h | |
parent | 892ddc0ba0bf5e6599754eb41d36373c28c6dafd (diff) | |
download | gcc-696e777373d6261773f9df6d6f9a89de5b832d26.tar.gz |
* 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
Diffstat (limited to 'gcc/gengtype.h')
-rw-r--r-- | gcc/gengtype.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/gengtype.h b/gcc/gengtype.h index 7be47b804c4..034a7314cbb 100644 --- a/gcc/gengtype.h +++ b/gcc/gengtype.h @@ -144,6 +144,10 @@ extern options_p create_option (options_p, const char *name, const void *info); extern type_p adjust_field_type (type_p, options_p); extern void note_variable (const char *s, type_p t, options_p o, struct fileloc *pos); +extern void note_def_vec (const char *typename, bool is_scalar, + struct fileloc *pos); +extern void note_def_vec_alloc (const char *type, const char *astrat, + struct fileloc *pos); /* Lexer and parser routines, most automatically generated. */ extern int yylex (void); |