diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-02-19 00:26:39 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-02-19 00:26:39 +0000 |
commit | cbc838f991ff91cc6757b521d7ed6cec9d1320ea (patch) | |
tree | 30bc85f198807596b139277f53db0226836a6a8e /gcc/c-common.c | |
parent | f60ff1098ea8f8c9a6f7f43f76afeb88f2d608cc (diff) | |
download | ppe42-gcc-cbc838f991ff91cc6757b521d7ed6cec9d1320ea.tar.gz ppe42-gcc-cbc838f991ff91cc6757b521d7ed6cec9d1320ea.zip |
Install latest version of last patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11293 138bc75d-0d04-0410-961f-82ee72b054a4
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 492aa4b08f2..eb6ccafba84 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; |