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