cp-tree.h (start_handler_parms): New function.
authorMark Mitchell <mark@codesourcery.com>
Mon, 30 Aug 1999 15:50:40 +0000 (15:50 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 30 Aug 1999 15:50:40 +0000 (15:50 +0000)
commit3c5c0849a9edab2c0c847205d4e9af84376b8240
tree5b846d04a97fe82f68c5d979bea9b865ea583bb8
parent7d53d8239f0be395acacbdfb156a3752195512a3
cp-tree.h (start_handler_parms): New function.

* cp-tree.h (start_handler_parms): New function.
(expand_start_catch_block): Take only one parameter.
(start_handler_parms): New function.
* decl.c (start_handler_parms): Define it.
* except.c (process_start_catch_block): Take only one parameter.
Don't call grokdeclarator here.
(expand_start_catch_block): Don't call grokdeclarator here,
either.
* parse.y (handler_args): Adjust call to
expand_start_catch_block.  Use start_handler_parms.
* pt.c (push_template_decl_real): Make permanent lists have
permanent elements.
(tsubst_expr): Adjust calls to expand_start_catch_block
appropriately.
* semantics.c (expand_stmt): Likewise.

From-SVN: r28983
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/except.c
gcc/cp/parse.c
gcc/cp/parse.y
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/testsuite/g++.old-deja/g++.eh/tmpl5.C [new file with mode: 0644]