This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]