diff options
author | Richard Henderson <rth@gcc.gnu.org> | 2001-03-28 00:25:45 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-03-28 00:25:45 -0800 |
commit | 826840d96aa1722381e57d96df700528c4581c33 (patch) | |
tree | 13a4980a497e8445730adac9c18781f805ef4126 /gcc/java/check-init.c | |
parent | 1e7c4465e965fe5c05bab6433a4c0c6035fe53d2 (diff) | |
download | gcc-826840d96aa1722381e57d96df700528c4581c33.zip gcc-826840d96aa1722381e57d96df700528c4581c33.tar.gz gcc-826840d96aa1722381e57d96df700528c4581c33.tar.bz2 |
decl.c (struct named_label_list): Rename eh_region to in_try_scope, add in_catch_scope.
* decl.c (struct named_label_list): Rename eh_region to
in_try_scope, add in_catch_scope.
(struct binding_level): Rename eh_region to is_try_scope,
add is_catch_scope.
(note_level_for_try): Rename from note_level_for_eh.
(note_level_for_catch): New.
(poplevel): Copy both is_try_scope and is_catch_scope to
the named_label_list struct.
(check_previous_goto_1): Don't check for catch block via
DECL_ARTIFICIAL; use in_try_scope instead.
(check_goto): Likewise.
* cp-tree.h (note_level_for_try, note_level_for_catch): Declare.
* except.c (expand_start_catch_block): Call note_level_for_catch.
* semantics.c (begin_compound_stmt): Update for note_level_for_try.
From-SVN: r40920
Diffstat (limited to 'gcc/java/check-init.c')
0 files changed, 0 insertions, 0 deletions