Commit 7e278bae by Tom Tromey Committed by Tom Tromey

jcf-parse.c (read_class): Update identifier's class value if it changed during parsing.

	* jcf-parse.c (read_class): Update identifier's class value if it
	changed during parsing.

From-SVN: r62149
parent 7429b411
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).
......
......@@ -516,6 +516,10 @@ read_class (tree name)
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 ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment