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
This commit is contained in:
parent
7429b411c1
commit
7e278bae4f
|
@ -1,3 +1,8 @@
|
|||
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 ();
|
||||
|
|
Loading…
Reference in New Issue