Fix typo in last change
authorMike Stump <mrs@gcc.gnu.org>
Mon, 22 May 2006 06:30:48 +0000 (06:30 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Mon, 22 May 2006 06:30:48 +0000 (06:30 +0000)
From-SVN: r113968

gcc/config/darwin-c.c

index 52180d7..88ce9ef 100644 (file)
@@ -114,7 +114,7 @@ darwin_pragma_options (cpp_reader *pfile ATTRIBUTE_UNUSED)
     BAD ("malformed '#pragma options', ignoring");
 
   if (pragma_lex (&x) != CPP_EOF)
-    BAD ("junk at end of '#pragma options'");
+    warning (OPT_Wpragmas, "junk at end of '#pragma options'");
 
   arg = IDENTIFIER_POINTER (t);
   if (!strcmp (arg, "mac68k"))