parse.y (obtain_incomplete_type): Don't wrap unknown types in TREE_LIST - just chain...
authorPer Bothner <bothner@gcc.gnu.org>
Fri, 19 Feb 1999 14:55:23 +0000 (06:55 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Fri, 19 Feb 1999 14:55:23 +0000 (06:55 -0800)
commit78d21f929b421db5a72ffa7decf34b420c495ecb
tree5ea05eac7742fd5a17301884eeb9665a639b6b04
parent846b0eb83dc79b5dcbed7c3ab5dd5c493f563a2c
parse.y (obtain_incomplete_type): Don't wrap unknown types in TREE_LIST - just chain the POINTER_TYPEs together.

d
* parse.y (obtain_incomplete_type):  Don't wrap unknown types
in TREE_LIST - just chain the POINTER_TYPEs together.
(resolve_class):  If type already resolved, return decl.
After resolving, update TREE_TYPE(class_type), and name (if array).
* parse.h (do_resolve_class), parse.y:  Make non-static.
* class.c (maybe_layout_super_class):  Take this_class argument.
Do do_resolve_class if necessary.
(layout_class, layout_class_methods): Adjust calls appropriately.
* parse.h (JDEP_TO_RESOLVE, JDEP_RESOLVED_DECL, JDEP_RESOLVED,
JDEP_RESOLVED_P):  Redefined for new TREE_LIST-less convention.
* typeck.c (build_java_array_type):  Don't call layout_class.

From-SVN: r25324
gcc/java/parse.c
gcc/java/parse.h
gcc/java/parse.y