Commit 6eaba4a7 by Doug Evans

(decl_attributes): Always continue if attribute not found.

From-SVN: r9522
parent b8b7ac24
......@@ -300,11 +300,11 @@ decl_attributes (node, attributes, prefix_attributes)
if (attrtab[i].name == name)
break;
if (i == attrtab_idx
&& ! valid_machine_attribute (name, args, decl, type))
if (i == attrtab_idx)
{
warning ("`%s' attribute directive ignored",
IDENTIFIER_POINTER (name));
if (! valid_machine_attribute (name, args, decl, type))
warning ("`%s' attribute directive ignored",
IDENTIFIER_POINTER (name));
continue;
}
else if (attrtab[i].decl_req && decl == 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