X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=symbol_t.h;h=49cf1e926851ba60b99424b691388d166a5ac09b;hb=a6f95613c2bf85acee264e07d1efb3887cec029d;hp=df2f2264165eb217824087c618929ec4ea526f58;hpb=b89a8892daf3e0dc291bfa6f78e6697c7185c018;p=cparser diff --git a/symbol_t.h b/symbol_t.h index df2f226..49cf1e9 100644 --- a/symbol_t.h +++ b/symbol_t.h @@ -22,23 +22,14 @@ #include #include "symbol.h" -#include "ast.h" +#include "entity.h" #include "token_t.h" -struct pp_definition_t { - symbol_t *symbol; - source_position_t source_position; - pp_definition_t *parent_expansion; - size_t expand_pos; - size_t list_len; - token_t replacement_list[]; -}; - struct symbol_t { const char *string; unsigned short ID; unsigned short pp_ID; - declaration_t *declaration; + entity_t *entity; pp_definition_t *pp_definition; };