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
This commit is contained in:
Zack Weinberg 2000-05-26 18:57:28 +00:00 committed by Tom Tromey
parent 344e498c7c
commit 30a3caefde
3 changed files with 17 additions and 8 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -12633,11 +12633,13 @@ 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,
name, arglist);
list = chainon (rlist, list);
{
tree rlist
= find_applicable_accessible_methods_list (lc, t,
name, arglist);
list = chainon (rlist, list);
}
}
object_done = 0;
}

View File

@ -10001,11 +10001,13 @@ 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,
name, arglist);
list = chainon (rlist, list);
{
tree rlist
= find_applicable_accessible_methods_list (lc, t,
name, arglist);
list = chainon (rlist, list);
}
}
object_done = 0;
}