Java: Fix multi-file compilation

Bryce McKinlay bryce@waitaki.otago.ac.nz
Sun Feb 3 18:36:00 GMT 2002


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);




More information about the Java-patches mailing list