]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/semantics.c
cp-tree.h (finish_unary_op_expr): New function.
authorMark Mitchell <mmitchell@usa.net>
Mon, 11 May 1998 00:07:25 +0000 (00:07 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 11 May 1998 00:07:25 +0000 (00:07 +0000)
commitce4a03916c76227660f5d388bd93c221185cfd24
treeab2d452b18a4eec96202dee9f3470cae51dd4522
parent4785faf11744c7e86ac93032075b23becebef200
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/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/gxx.gperf
gcc/cp/hash.h
gcc/cp/parse.y
gcc/cp/semantics.c
gcc/testsuite/g++.old-deja/g++.other/new.C [new file with mode: 0644]