Commit 415f766a by Richard Kenner

(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
parent e1eb754f
......@@ -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 == '+')
......
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