X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=symbol_t.h;h=596c7a369baaa674ca3989d48f56113f51b3fef9;hb=7fdc2c1b75a824a1ec220a96f11ccd3d5359ba97;hp=df2f2264165eb217824087c618929ec4ea526f58;hpb=b89a8892daf3e0dc291bfa6f78e6697c7185c018;p=cparser diff --git a/symbol_t.h b/symbol_t.h index df2f226..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 @@ -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; };