(init_attributes): A_FORMAT is only for decls.
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 31 Mar 1995 12:26:28 +0000 (07:26 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 31 Mar 1995 12:26:28 +0000 (07:26 -0500)
From-SVN: r9271

gcc/c-common.c

index b625447..0e5d492 100644 (file)
@@ -255,7 +255,7 @@ init_attributes ()
   add_attribute (A_MODE, "mode", 1, 1, 1);
   add_attribute (A_SECTION, "section", 1, 1, 1);
   add_attribute (A_ALIGNED, "aligned", 0, 1, 0);
-  add_attribute (A_FORMAT, "format", 3, 3, 0);
+  add_attribute (A_FORMAT, "format", 3, 3, 1);
 }
 \f
 /* Process the attributes listed in ATTRIBUTES and PREFIX_ATTRIBUTES