Commit 09bac660 by Ian Lance Taylor

compiler: Permit an empty interface to be embedded multiple times.

From-SVN: r184363
parent efb743a7
...@@ -6471,7 +6471,7 @@ Interface_type::finalize_methods() ...@@ -6471,7 +6471,7 @@ Interface_type::finalize_methods()
} }
Named_type* nt = t->named_type(); Named_type* nt = t->named_type();
if (nt != NULL) if (nt != NULL && it->parse_methods_ != NULL)
{ {
std::vector<Named_type*>::const_iterator q; std::vector<Named_type*>::const_iterator q;
for (q = seen.begin(); q != seen.end(); ++q) for (q = seen.begin(); q != seen.end(); ++q)
......
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