diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2004-03-30 19:19:06 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2004-03-30 19:19:06 +0000 |
commit | 1431042ef1f76baf550557885af9945aa76148e8 (patch) | |
tree | eb5c785a332c675110a75f8bdba7609d72204214 /gcc/gengtype.h | |
parent | 9ffab06b25e310701c8fd82d2c65e265b49ba299 (diff) | |
download | gcc-1431042ef1f76baf550557885af9945aa76148e8.tar.gz |
gengtype.c (create_option): New function.
* gengtype.c (create_option): New function.
* gengtype.h: Prototype it.
* gengtype-yacc.y (stringseq): New rule.
(option): Use create_option. Add new bare ID production. Use
stringseq, not STRING directly.
* alias.c, bitmap.c, c-decl.c, cgraph.h, cpplib.h, cselib.h
* dwarf2out.c, emit-rtl.c, function.h, lists.c, tree.h
* varray.h, config/alpha/alpha.c, cp/name-lookup.c, cp/parser.c
* f/com.c, java/builtins.c, java/expr.c, java/jcf.h, java/parse.h:
Use new shorter form of GTY markers.
* doc/gty.texi: Rewrite.
From-SVN: r80091
Diffstat (limited to 'gcc/gengtype.h')
-rw-r--r-- | gcc/gengtype.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gengtype.h b/gcc/gengtype.h index 5fa7550eadd..55ece115073 100644 --- a/gcc/gengtype.h +++ b/gcc/gengtype.h @@ -130,6 +130,7 @@ extern type_p find_structure (const char *s, int isunion); extern type_p create_scalar_type (const char *name, size_t name_len); extern type_p create_pointer (type_p t); extern type_p create_array (type_p t, const char *len); +extern options_p create_option (const char *name, 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); |