2000-08-15 Bryce McKinlay <bryce@albatross.co.nz>
* parse.y (do_resolve_class): Also explore superclasses of
intermediate enclosing contexts when searching for inner classes.
From-SVN: r36990
compression_method fields.
* zextract.c (read_zip_archive): Collect file compression info.
+2000-08-15 Bryce McKinlay <bryce@albatross.co.nz>
+
+ * parse.y (do_resolve_class): Also explore superclasses of
+ intermediate enclosing contexts when searching for inner classes.
+
2000-08-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (variable_declarator_id:): Better error message.
while (enclosing)
{
tree name;
+ tree intermediate;
if ((new_class_decl = find_as_inner_class (enclosing, class_type, cl)))
return new_class_decl;
-
+
+ intermediate = enclosing;
/* Explore enclosing contexts. */
- while (INNER_CLASS_DECL_P (enclosing))
+ while (INNER_CLASS_DECL_P (intermediate))
{
- enclosing = DECL_CONTEXT (enclosing);
- if ((new_class_decl = find_as_inner_class (enclosing,
+ intermediate = DECL_CONTEXT (intermediate);
+ if ((new_class_decl = find_as_inner_class (intermediate,
class_type, cl)))
return new_class_decl;
}