projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
support for writing functions and function types in fluffy export
[cparser]
/
token.c
diff --git
a/token.c
b/token.c
index
9464783
..
1496f35
100644
(file)
--- a/
token.c
+++ b/
token.c
@@
-65,7
+65,7
@@
void print_token_type(FILE *f, token_type_t token_type)
const symbol_t *symbol = token_symbols[token_type];
if(symbol != NULL) {
- fp
uts(symbol->string, f
);
+ fp
rintf(f, "'%s'", symbol->string
);
} else {
if(token_type >= 0 && token_type < 256) {
fprintf(f, "'%c'", token_type);