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
Showing
This diff is collapsed.
Click to expand it.
gcc/testsuite/g++.old-deja/g++.other/new.C
0 → 100644
Please
register
or
sign in
to comment