X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=token.c;h=4769365843bc98ae6c8eef1509f244aca63cdcc5;hb=353985d8d06fcac2f36682820b8ae635c5e6162e;hp=f9b5336bda45b31c5a7027b5b5675fc0863f14b6;hpb=97f33b63c421063c4cbc869c60076b9132667835;p=cparser diff --git a/token.c b/token.c index f9b5336..4769365 100644 --- a/token.c +++ b/token.c @@ -81,12 +81,12 @@ void print_token(FILE *f, const token_t *token) case T_IDENTIFIER: fprintf(f, "symbol '%s'", token->v.symbol->string); break; - case T_TYPENAME: - fprintf(f, "typename '%s'", token->v.symbol->string); - 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;