* parse.y (java_expand_classes): Fix typo in static field loop.
authorBryce McKinlay <bryce@waitaki.otago.ac.nz>
Mon, 4 Feb 2002 02:38:16 +0000 (02:38 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Mon, 4 Feb 2002 02:38:16 +0000 (02:38 +0000)
From-SVN: r49468

gcc/java/ChangeLog
gcc/java/parse.y

index 3bd83c7acff6c353a3af2b191bfad973e6af3de5..df6c6c1737dc0cf1018eaf161563a04645e69a0e 100644 (file)
@@ -1,3 +1,7 @@
+2002-02-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
+
+       * parse.y (java_expand_classes): Fix typo in static field loop.
+
 2002-02-02  Richard Henderson  <rth@redhat.com>
 
        * class.c (add_field): Mark static fields external.
index 328a18e3d122191561b848ebc7c16b64a10f3204..59559d3da6cd8673e49e515b4d3361d181cd11e4 100644 (file)
@@ -9015,6 +9015,7 @@ java_expand_classes ()
   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);