projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Parse C++ bool, false and true.
[cparser]
/
diagnostic.c
diff --git
a/diagnostic.c
b/diagnostic.c
index
585d61b
..
eacf085
100644
(file)
--- a/
diagnostic.c
+++ b/
diagnostic.c
@@
-127,6
+127,12
@@
static void diagnosticvf(const char *const fmt, va_list ap)
break;
}
+ case 't': {
+ const token_t *const token = va_arg(ap, const token_t*);
+ print_pp_token(stderr, token);
+ break;
+ }
+
case 'K': {
const token_t* const token = va_arg(ap, const token_t*);
print_token(stderr, token);