Commit ca854c05 by Richard Kenner

(decl_attributes): Add double-underscore version of printf and scanf

for format type.

From-SVN: r8426
parent 7a824750
......@@ -403,9 +403,11 @@ found_attr:;
continue;
}
if (!strcmp (IDENTIFIER_POINTER (format_type), "printf"))
if (!strcmp (IDENTIFIER_POINTER (format_type), "printf")
|| !strcmp (IDENTIFIER_POINTER (format_type), "__printf__"))
is_scan = 0;
else if (!strcmp (IDENTIFIER_POINTER (format_type), "scanf"))
else if (!strcmp (IDENTIFIER_POINTER (format_type), "scanf")
|| !strcmp (IDENTIFIER_POINTER (format_type), "__scanf__"))
is_scan = 1;
else
{
......
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