summaryrefslogtreecommitdiff
path: root/gcc/cp/parse.y
diff options
context:
space:
mode:
authoramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>1998-06-09 13:28:26 +0000
committeramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>1998-06-09 13:28:26 +0000
commitc50af1d9f515139035e3ffe1ee46abffcfbd8c6a (patch)
tree812a5e7bcb5c0cb69417d69ff0d7b7245fc40a0e /gcc/cp/parse.y
parent11c9a2272b98c620bbc0b085f3b73169d3283d53 (diff)
downloadgcc-c50af1d9f515139035e3ffe1ee46abffcfbd8c6a.tar.gz
Minor tweaks.
* except.c (expand_start_catch): Rename to start_catch_handler. (expand_end_catch): Delete function. (expand_end_all_catch): Remove catch status that expand_end_catch use to do. * except.h (expand_start_catch): Rename prototype. (expand_end_catch): Delete prototype. * semantics.c (finish_try_block): Rename expand_start_catch, and delete expand_end_catch. * parse.y (function_try_block): Rename expand_start_catch, and delete expand_end_catch. * except.c (expand_end_eh_spec): Rename expand_start_catch, and delete expand_end_catch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20379 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/parse.y')
-rw-r--r--gcc/cp/parse.y3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cp/parse.y b/gcc/cp/parse.y
index 5feb62d65f0..44b3f68de88 100644
--- a/gcc/cp/parse.y
+++ b/gcc/cp/parse.y
@@ -3251,14 +3251,13 @@ function_try_block:
ctor_initializer_opt compstmt
{
expand_start_all_catch ();
- expand_start_catch (NULL);
+ start_catch_handler (NULL);
}
handler_seq
{
int nested = (hack_decl_function_context
(current_function_decl) != NULL_TREE);
expand_end_all_catch ();
- expand_end_catch ();
finish_function (lineno, (int)$3, nested);
}
;