aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/parse.y
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2003-02-28 20:53:47 +0000
committerTom Tromey <tromey@gcc.gnu.org>2003-02-28 20:53:47 +0000
commit0ea05c0da385f546437e32c43512dc2565c504eb (patch)
treeff933323332bdbed9ede2133d881c80430e36a4c /gcc/java/parse.y
parent8c108db21b23f8083867ff2cec09d9f0110258c2 (diff)
downloadgcc-0ea05c0da385f546437e32c43512dc2565c504eb.zip
gcc-0ea05c0da385f546437e32c43512dc2565c504eb.tar.gz
gcc-0ea05c0da385f546437e32c43512dc2565c504eb.tar.bz2
re PR java/9695 (Inner class bug prevent GNU Classpath from compiling)
PR java/9695: * class.c (maybe_layout_super_class): Always pass a WFL to do_resolve_class. * parse.y (do_resolve_class): Updated comment to explain parameters. From-SVN: r63584
Diffstat (limited to 'gcc/java/parse.y')
-rw-r--r--gcc/java/parse.y10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/java/parse.y b/gcc/java/parse.y
index 6745cec..dd05c1a 100644
--- a/gcc/java/parse.y
+++ b/gcc/java/parse.y
@@ -5678,11 +5678,11 @@ resolve_class (tree enclosing, tree class_type, tree decl, tree cl)
return resolved_type_decl;
}
-/* Effectively perform the resolution of class CLASS_TYPE. DECL or CL
- are used to report error messages. Do not try to replace TYPE_NAME
- (class_type) by a variable, since it is changed by
- find_in_imports{_on_demand} and (but it doesn't really matter)
- qualify_and_find. */
+/* Effectively perform the resolution of class CLASS_TYPE. DECL or CL
+ are used to report error messages; CL must either be NULL_TREE or a
+ WFL wrapping a class. Do not try to replace TYPE_NAME (class_type)
+ by a variable, since it is changed by find_in_imports{_on_demand}
+ and (but it doesn't really matter) qualify_and_find. */
tree
do_resolve_class (tree enclosing, tree class_type, tree decl, tree cl)