Commit 30a3caef by Zack Weinberg Committed by Tom Tromey

parse.y (find_applicable_accessible_methods_list): Don't add an uninitialized value to the list.

2000-05-26  Zack Weinberg  <zack@wolery.cumb.org>

	* java/parse.y (find_applicable_accessible_methods_list):
	Don't add an uninitialized value to the list.

From-SVN: r34196
parent 344e498c
2000-05-26 Zack Weinberg <zack@wolery.cumb.org>
* java/parse.y (find_applicable_accessible_methods_list):
Don't add an uninitialized value to the list.
2000-05-25 Tom Tromey <tromey@cygnus.com>
* parse.y (resolve_field_access): Don't check DECL_LANG_SPECIFIC
......
......@@ -12633,12 +12633,14 @@ find_applicable_accessible_methods_list (lc, class, name, arglist)
for (i = 1; i < n; i++)
{
tree t = BINFO_TYPE (TREE_VEC_ELT (basetype_vec, i));
tree rlist;
if (t != object_type_node)
rlist = find_applicable_accessible_methods_list (lc, t,
{
tree rlist
= find_applicable_accessible_methods_list (lc, t,
name, arglist);
list = chainon (rlist, list);
}
}
object_done = 0;
}
......
......@@ -10001,12 +10001,14 @@ find_applicable_accessible_methods_list (lc, class, name, arglist)
for (i = 1; i < n; i++)
{
tree t = BINFO_TYPE (TREE_VEC_ELT (basetype_vec, i));
tree rlist;
if (t != object_type_node)
rlist = find_applicable_accessible_methods_list (lc, t,
{
tree rlist
= find_applicable_accessible_methods_list (lc, t,
name, arglist);
list = chainon (rlist, list);
}
}
object_done = 0;
}
......
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