X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=token_t.h;h=7bdc8d83bbb6885ef8e6aa45cd901ee182fc36ac;hb=6b26906854c2f5423fa3986a0caf3c23b200b553;hp=10d2248064a3324878bc0772ea6101594c8a66ee;hpb=6d7d61de445629e1590d3a2ba2990ef7a651368a;p=cparser diff --git a/token_t.h b/token_t.h index 10d2248..7bdc8d8 100644 --- a/token_t.h +++ b/token_t.h @@ -60,15 +60,9 @@ struct source_position_t { extern const source_position_t builtin_source_position; typedef struct { - int type; - union { - symbol_t *symbol; - long long intvalue; - long double floatvalue; - string_t string; - wide_string_t wide_string; - } v; - type_t *datatype; + int type; + symbol_t *symbol; /**< contains identifier. Contains number suffix for numbers */ + string_t literal; /**< string value/literal value */ source_position_t source_position; } token_t;