diff options
| author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-28 08:25:45 +0000 |
|---|---|---|
| committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-28 08:25:45 +0000 |
| commit | 657508292605d3a27aa884558dba7388e04e33fd (patch) | |
| tree | 13a4980a497e8445730adac9c18781f805ef4126 /gcc/java/expr.c | |
| parent | ba75e3735f9d654fbb9c90aef942107244249315 (diff) | |
| download | ppe42-gcc-657508292605d3a27aa884558dba7388e04e33fd.tar.gz ppe42-gcc-657508292605d3a27aa884558dba7388e04e33fd.zip | |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40920 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/expr.c')
0 files changed, 0 insertions, 0 deletions

