diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1996-02-18 19:26:39 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1996-02-18 19:26:39 -0500 |
commit | 80d390a26096f05c0c9d05efb06d031141663b61 (patch) | |
tree | 30bc85f198807596b139277f53db0226836a6a8e /gcc/c-common.c | |
parent | 11e87727436a00ef9afbd1d2648de66e8e2892b2 (diff) | |
download | gcc-80d390a26096f05c0c9d05efb06d031141663b61.zip gcc-80d390a26096f05c0c9d05efb06d031141663b61.tar.gz gcc-80d390a26096f05c0c9d05efb06d031141663b61.tar.bz2 |
Install latest version of last patch.
From-SVN: r11293
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index 492aa4b..eb6ccaf 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -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; |