projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the unnecessary distinction between T_FLOATINGPOINT and T_FLOATINGPOINT_HEXADE...
[cparser]
/
token.c
diff --git
a/token.c
b/token.c
index
a0a7d7e
..
5f395c7
100644
(file)
--- a/
token.c
+++ b/
token.c
@@
-137,10
+137,7
@@
void print_token(FILE *f, const token_t *token)
fprintf(f, "identifier '%s'", token->identifier.symbol->string);
break;
case T_INTEGER:
fprintf(f, "identifier '%s'", token->identifier.symbol->string);
break;
case T_INTEGER:
- case T_INTEGER_OCTAL:
- case T_INTEGER_HEXADECIMAL:
case T_FLOATINGPOINT:
case T_FLOATINGPOINT:
- case T_FLOATINGPOINT_HEXADECIMAL:
print_token_kind(f, (token_kind_t)token->kind);
fputs(" '", f);
print_stringrep(&token->number.number, f);
print_token_kind(f, (token_kind_t)token->kind);
fputs(" '", f);
print_stringrep(&token->number.number, f);