projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f6d090
)
Advance the format string when seeing '*' for field width and precision.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 25 Aug 2008 10:22:07 +0000
(10:22 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 25 Aug 2008 10:22:07 +0000
(10:22 +0000)
[r21436]
format_check.c
patch
|
blob
|
history
diff --git
a/format_check.c
b/format_check.c
index
f572d14
..
d666d1a
100644
(file)
--- a/
format_check.c
+++ b/
format_check.c
@@
-247,6
+247,7
@@
break_fmt_flags:
/* minimum field width */
if (fmt == '*') {
+ fmt = vchar.next(&vchar);
if (arg == NULL) {
warningf(pos, "missing argument for '*' field width in conversion specification");
return;
@@
-267,6
+268,7
@@
break_fmt_flags:
if (fmt == '.') {
fmt = vchar.next(&vchar);
if (fmt == '*') {
+ fmt = vchar.next(&vchar);
if (arg == NULL) {
warningf(pos, "missing argument for '*' precision in conversion specification");
return;