From ce4a03916c76227660f5d388bd93c221185cfd24 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Mon, 11 May 1998 00:07:25 +0000 Subject: 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 --- gcc/cp/cp-tree.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'gcc/cp/cp-tree.h') diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 662ba15..f044553 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -2634,10 +2634,21 @@ extern tree finish_qualified_object_call_expr PROTO((tree, tree, tree)); extern tree finish_pseudo_destructor_call_expr PROTO((tree, tree, tree)); extern tree finish_globally_qualified_member_call_expr PROTO ((tree, tree)); extern tree finish_label_address_expr PROTO((tree)); +extern tree finish_unary_op_expr PROTO((enum tree_code, tree)); +extern tree finish_id_expr PROTO((tree)); +extern int begin_new_placement PROTO((void)); +extern tree finish_new_placement PROTO((tree, int)); extern int begin_function_definition PROTO((tree, tree)); extern tree begin_constructor_declarator PROTO((tree, tree)); +extern tree finish_declarator PROTO((tree, tree, tree, tree, int)); +extern void finish_translation_unit PROTO((void)); extern tree finish_template_type_parm PROTO((tree, tree)); extern tree finish_template_template_parm PROTO((tree, tree)); +extern tree finish_parmlist PROTO((tree, int)); +extern tree begin_class_definition PROTO((tree)); +extern tree finish_class_definition PROTO((tree, tree, tree, int)); +extern void finish_default_args PROTO((void)); +extern void begin_inline_definitions PROTO((void)); /* in sig.c */ extern tree build_signature_pointer_type PROTO((tree, int, int)); -- cgit v1.1