(check_methods_accessible): Fix bug in -Wno-protocol.

(check_methods_accessible): Fix bug in -Wno-protocol.  Reset chain to
bottom class for each search.

From-SVN: r5927
This commit is contained in:
Richard Kenner 1993-10-28 21:33:07 -04:00
parent e1eb754f60
commit 415f766a65
1 changed files with 2 additions and 0 deletions

View File

@ -5363,9 +5363,11 @@ check_methods_accessible (chain, context, mtype)
{
int first = 1;
tree list;
tree base_context = context;
while (chain)
{
context = base_context;
while (context)
{
if (mtype == '+')