aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/hash.h
diff options
context:
space:
mode:
authorMark Mitchell <mmitchell@usa.net>1998-05-11 00:07:25 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1998-05-11 00:07:25 +0000
commitce4a03916c76227660f5d388bd93c221185cfd24 (patch)
treeab2d452b18a4eec96202dee9f3470cae51dd4522 /gcc/cp/hash.h
parent4785faf11744c7e86ac93032075b23becebef200 (diff)
downloadgcc-ce4a03916c76227660f5d388bd93c221185cfd24.zip
gcc-ce4a03916c76227660f5d388bd93c221185cfd24.tar.gz
gcc-ce4a03916c76227660f5d388bd93c221185cfd24.tar.bz2
cp-tree.h (finish_unary_op_expr): New function.
* cp-tree.h (finish_unary_op_expr): New function. (finish_id_expr): Likewise. (begin_new_placement): Likewise. (finish_new_placement): Likewise. (finish_declarator): Likewise. (finish_translation_unit): Likewise. (finish_parmlist): Likewise. (begin_class_definition): Likewise. (finish_class_definition): Likewise. (finish_default_args): Likewise. (finish_inline_definitions): Likewise. * parse.y (GCC_ASM_KEYWORD): Remove. (TYPENAME_ELLIPSIS): Likewise. * parse.c: Regenerated. Use new functions in semantics.c in the actions for many rules. * gxx.gperf (GCC_ASM_KEYWORD): Just use ASM_KEYWORD. * hash.h: Regenerated. * semantics.c (finish_expr_stmt): Allow NULL expr. (finish_unary_op_expr): New function, containing code previously in parse.y. (finish_id_expr): Likewise. (begin_new_placement): Likewise. (finish_new_placement): Likewise. (finish_declarator): Likewise. (finish_translation_unit): Likewise. (finish_parmlist): Likewise. (begin_class_definition): Likewise. (finish_class_definition): Likewise. (finish_default_args): Likewise. (finish_inline_definitions): Likewise. From-SVN: r19660
Diffstat (limited to 'gcc/cp/hash.h')
-rw-r--r--gcc/cp/hash.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/cp/hash.h b/gcc/cp/hash.h
index 720890f..1e31a35 100644
--- a/gcc/cp/hash.h
+++ b/gcc/cp/hash.h
@@ -1,5 +1,6 @@
/* C code produced by gperf version 2.5 (GNU C++ version) */
-/* Command-line: gperf -p -j1 -g -o -t -N is_reserved_word -k1,4,$,7 gxx.gperf */
+/* Command-line: gperf -p -j1 -g -o -t -N is_reserved_word -k1,4,7,$ ../../../gcc/cp/gxx.gperf */
+/* Command-line: gperf -p -j1 -g -o -t -N is_reserved_word -k1,4,$,7 gplus.gperf */
struct resword { char *name; short token; enum rid rid;};
#define TOTAL_KEYWORDS 103
@@ -72,7 +73,7 @@ is_reserved_word (str, len)
{"",},
{"true", CXX_TRUE, NORID,},
{"",},
- {"__asm__", GCC_ASM_KEYWORD, NORID},
+ {"__asm__", ASM_KEYWORD, NORID},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"this", THIS, NORID,},
{"",},
@@ -104,7 +105,7 @@ is_reserved_word (str, len)
{"short", TYPESPEC, RID_SHORT,},
{"__imag__", IMAGPART, NORID},
{"delete", DELETE, NORID,},
- {"__asm", GCC_ASM_KEYWORD, NORID},
+ {"__asm", ASM_KEYWORD, NORID},
{"xor", '^', NORID,},
{"not_eq", EQCOMPARE, NORID,},
{"xor_eq", ASSIGN, NORID,},