X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=symbol_t.h;h=596c7a369baaa674ca3989d48f56113f51b3fef9;hb=b2e2a716bac8a32ba2e8e8349e00301df026d31f;hp=44b9900cbefaddf01a2964cf6e1bdb7c771bc23a;hpb=1c622ff40fc61cbef1202888d3184215d88de680;p=cparser diff --git a/symbol_t.h b/symbol_t.h index 44b9900..596c7a3 100644 --- a/symbol_t.h +++ b/symbol_t.h @@ -1,6 +1,6 @@ /* * This file is part of cparser. - * Copyright (C) 2007-2008 Matthias Braun + * Copyright (C) 2007-2009 Matthias Braun * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -21,21 +21,16 @@ #define SYMBOL_T_H #include -#include "ast.h" +#include "symbol.h" +#include "entity.h" #include "token_t.h" -struct pp_definition { - source_position_t source_position; - bool expanding; - token_t replacement_list[]; -}; - struct symbol_t { - const char *string; - unsigned short ID; - unsigned short pp_ID; - declaration_t *declaration; - pp_definition *pp_define; + const char *string; + unsigned short ID; + unsigned short pp_ID; + entity_t *entity; + pp_definition_t *pp_definition; }; #endif