This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Java: Fix multi-file compilation
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Mon, 04 Feb 2002 15:37:01 +1300
- Subject: Java: Fix multi-file compilation
Richard's last patch to java/parse.y had a typo that broke multi-file
compilation. I'm checking in this fix as obvious.
regards
Bryce.
2002-02-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* parse.y (java_expand_classes): Fix typo in static field loop.
Index: parse.y
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/parse.y,v
retrieving revision 1.349
diff -u -r1.349 parse.y
--- parse.y 2002/02/03 06:23:37 1.349
+++ parse.y 2002/02/04 02:36:09
@@ -9015,6 +9015,7 @@
for (cur_ctxp = ctxp_for_generation; cur_ctxp; cur_ctxp = cur_ctxp->next)
{
tree current;
+ ctxp = cur_ctxp;
for (current = ctxp->class_list; current; current = TREE_CHAIN
(current))
{
tree class = TREE_TYPE (current);