* jcf-parse.c (read_class): Update identifier's class value if it
changed during parsing.
From-SVN: r62149
+2003-01-30 Tom Tromey <tromey@redhat.com>
+
+ * jcf-parse.c (read_class): Update identifier's class value if it
+ changed during parsing.
+
2003-01-30 Loren James Rittle <ljrittle@acm.org>
* Make-lang.in (po-generated): Find the targets in $(parsedir).
read_zip_member(current_jcf,
current_jcf->zipd, current_jcf->zipd->zipf);
jcf_parse (current_jcf);
+ /* Parsing might change the class, in which case we have to
+ put it back where we found it. */
+ if (current_class != class && icv != NULL_TREE)
+ TREE_TYPE (icv) = current_class;
class = current_class;
java_pop_parser_context (0);
java_parser_context_restore_global ();