diff options
author | Richard Henderson <rth@redhat.com> | 2003-12-02 02:11:24 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-12-02 02:11:24 -0800 |
commit | df2b750fc14c757455d3ea296121ffe797edb217 (patch) | |
tree | 89a88d38688aa3a0550ef426280f096930866d9c /gcc/cp/parser.c | |
parent | 142b798be5651ea1ca4959d27f9144a78768d184 (diff) | |
download | gcc-df2b750fc14c757455d3ea296121ffe797edb217.zip gcc-df2b750fc14c757455d3ea296121ffe797edb217.tar.gz gcc-df2b750fc14c757455d3ea296121ffe797edb217.tar.bz2 |
name-lookup.h (struct cp_binding_level): Use ENUM_BITFIELD.
* name-lookup.h (struct cp_binding_level): Use ENUM_BITFIELD.
* parser.c (struct cp_token): Likewise.
(struct cp_parser_token_tree_map_node): Likewise.
* lex.c (struct resword): Move const after ENUM_BITFIELD.
From-SVN: r74169
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r-- | gcc/cp/parser.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index f2f1c5b..c157173 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -68,10 +68,10 @@ typedef struct cp_token GTY (()) { /* The kind of token. */ - enum cpp_ttype type : 8; + ENUM_BITFIELD (cpp_ttype) type : 8; /* If this token is a keyword, this value indicates which keyword. Otherwise, this value is RID_MAX. */ - enum rid keyword : 8; + ENUM_BITFIELD (rid) keyword : 8; /* The value associated with this token, if any. */ tree value; /* The location at which this token was found. */ @@ -1076,9 +1076,9 @@ typedef enum cp_parser_declarator_kind typedef struct cp_parser_token_tree_map_node { /* The token type. */ - enum cpp_ttype token_type : 8; + ENUM_BITFIELD (cpp_ttype) token_type : 8; /* The corresponding tree code. */ - enum tree_code tree_type : 8; + ENUM_BITFIELD (tree_code) tree_type : 8; } cp_parser_token_tree_map_node; /* A complete map consists of several ordinary entries, followed by a |