This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Java: let Jacks run again.
- To: gcc-patches at gcc dot gnu dot org
- Subject: [PATCH] Java: let Jacks run again.
- From: Alexandre Petit-Bianco <apbianco at cygnus dot com>
- Date: Wed, 22 Aug 2001 08:26:01 -0700
- Reply-to: apbianco at cygnus dot com
This patch let Jacks run to completion. I'm checking this in.
./A
2001-08-22 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (resolve_inner_class): Keep local_enclosing to NULL if
circularity is detected.
(ctors_unchecked_throws_clause_p): Fixed leading comment.
Index: parse.y
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/parse.y,v
retrieving revision 1.300
diff -u -p -r1.300 parse.y
--- parse.y 2001/08/17 21:07:07 1.300
+++ parse.y 2001/08/22 15:16:48
@@ -3584,7 +3584,8 @@ resolve_inner_class (circularity_hash, c
IDENTIFIER_POINTER (DECL_NAME (local_enclosing)));
local_enclosing = NULL_TREE;
}
- local_enclosing = local_super;
+ else
+ local_enclosing = local_super;
}
/* We failed. Return LOCAL_SUPER and LOCAL_ENCLOSING. */
@@ -15701,7 +15702,7 @@ purge_unchecked_exceptions (mdecl)
}
/* This function goes over all of CLASS_TYPE ctors and checks whether
- each of then features at least one unchecked exception in it
+ each of them features at least one unchecked exception in its
`throws' clause. If it's the case, it returns `true', `false'
otherwise. */