X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=token_t.h;h=762f143a47885a94ff061eeb165cfb1df976b66d;hb=57569ce27c909aa9cda1d4e1b405c83ae0ef29cb;hp=27832f8a06d870dffa996b6fc7f96a1c0a477eed;hpb=d5a5e90eca7d95d0efa66a6e8dd5ca0ed031321b;p=cparser diff --git a/token_t.h b/token_t.h index 27832f8..762f143 100644 --- a/token_t.h +++ b/token_t.h @@ -4,6 +4,7 @@ #include #include "symbol.h" #include "symbol_table.h" +#include "type.h" typedef enum { #define T(x,str,val) T_##x val, @@ -34,10 +35,11 @@ typedef struct { int type; union { symbol_t *symbol; - int intvalue; - double floatvalue; + long long intvalue; + long double floatvalue; const char *string; } v; + type_t *datatype; source_position_t source_position; } token_t;