* parse.y (java_expand_classes): Fix typo in static field loop.
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Feb 2002 02:38:16 +0000 (02:38 +0000)
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Feb 2002 02:38:16 +0000 (02:38 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49468 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 3bd83c7..df6c6c1 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 328a18e..59559d3 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);