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/cp/parser.c | |
parent | 9ffab06b25e310701c8fd82d2c65e265b49ba299 (diff) | |
download | gcc-1431042ef1f76baf550557885af9945aa76148e8.zip gcc-1431042ef1f76baf550557885af9945aa76148e8.tar.gz gcc-1431042ef1f76baf550557885af9945aa76148e8.tar.bz2 |
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/cp/parser.c')
-rw-r--r-- | gcc/cp/parser.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index e58fda4..a7f49e0 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -167,19 +167,19 @@ typedef struct cp_lexer GTY (()) /* The memory allocated for the buffer. Never NULL. */ cp_token * GTY ((length ("(%h.buffer_end - %h.buffer)"))) buffer; /* A pointer just past the end of the memory allocated for the buffer. */ - cp_token * GTY ((skip (""))) buffer_end; + cp_token * GTY ((skip)) buffer_end; /* The first valid token in the buffer, or NULL if none. */ - cp_token * GTY ((skip (""))) first_token; + cp_token * GTY ((skip)) first_token; /* The next available token. If NEXT_TOKEN is NULL, then there are no more available tokens. */ - cp_token * GTY ((skip (""))) next_token; + cp_token * GTY ((skip)) next_token; /* A pointer just past the last available token. If FIRST_TOKEN is NULL, however, there are no available tokens, and then this location is simply the place in which the next token read will be placed. If LAST_TOKEN == FIRST_TOKEN, then the buffer is full. When the LAST_TOKEN == BUFFER, then the last token is at the highest memory address in the BUFFER. */ - cp_token * GTY ((skip (""))) last_token; + cp_token * GTY ((skip)) last_token; /* A stack indicating positions at which cp_lexer_save_tokens was called. The top entry is the most recent position at which we @@ -1126,7 +1126,7 @@ static cp_parser_context *cp_parser_context_new /* Class variables. */ -static GTY((deletable (""))) cp_parser_context* cp_parser_context_free_list; +static GTY((deletable)) cp_parser_context* cp_parser_context_free_list; /* Constructors and destructors. */ |