projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e71fdc
)
add %u specifier
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 12 Sep 2008 22:38:48 +0000
(22:38 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 12 Sep 2008 22:38:48 +0000
(22:38 +0000)
[r21916]
diagnostic.c
patch
|
blob
|
history
diff --git
a/diagnostic.c
b/diagnostic.c
index
4a9122c
..
0a582af
100644
(file)
--- a/
diagnostic.c
+++ b/
diagnostic.c
@@
-92,6
+92,12
@@
static void diagnosticvf(const char *const fmt, va_list ap)
break;
}
+ case 'u': {
+ const unsigned int val = va_arg(ap, unsigned int);
+ fprintf(stderr, "%u", val);
+ break;
+ }
+
case 'Y': {
const symbol_t *const symbol = va_arg(ap, const symbol_t*);
if (symbol == NULL)