]> gcc.gnu.org Git - gcc.git/commitdiff
Install latest version of last patch.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 19 Feb 1996 00:26:39 +0000 (19:26 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 19 Feb 1996 00:26:39 +0000 (19:26 -0500)
From-SVN: r11293

gcc/c-common.c

index 492aa4b08f2163a2cbd61304447f5937d7387b05..eb6ccafba84ccbb6de53e0ade54e032566f462b3 100644 (file)
@@ -1081,12 +1081,14 @@ check_format_info (info, params)
                }
            }
        }
-      if (*format_chars == 'h' || *format_chars == 'l' || *format_chars == 'q' ||
-         *format_chars == 'L')
+      if (*format_chars == 'h' || *format_chars == 'l')
+       length_char = *format_chars++;
+      else if (*format_chars == 'q' || *format_chars == 'L')
        {
          length_char = *format_chars++;
          if (pedantic)
-           pedwarn ("ANSI C does not support the `q' length modifier");
+           pedwarn ("ANSI C does not support the `%c' length modifier",
+                    length_char);
        }
       else
        length_char = 0;
This page took 0.06063 seconds and 5 git commands to generate.