projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename method to function
[cparser]
/
token.c
diff --git
a/token.c
b/token.c
index
1496f35
..
4769365
100644
(file)
--- a/
token.c
+++ b/
token.c
@@
-84,6
+84,9
@@
void print_token(FILE *f, const token_t *token)
case T_INTEGER:
fprintf(f, "integer number %d", token->v.intvalue);
break;
case T_INTEGER:
fprintf(f, "integer number %d", token->v.intvalue);
break;
+ case T_FLOATINGPOINT:
+ fprintf(f, "floatingpointer number %f", token->v.floatvalue);
+ break;
case T_STRING_LITERAL:
fprintf(f, "string '%s'", token->v.string);
break;
case T_STRING_LITERAL:
fprintf(f, "string '%s'", token->v.string);
break;