X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=symbol_t.h;h=596c7a369baaa674ca3989d48f56113f51b3fef9;hb=864a15484c0e50d85507b17ee17fc49571fae66a;hp=1fe4054e593eedb10939db040088f80117d987e9;hpb=70abad8ade78c811d76cc79741fccfc6bd7d58ab;p=cparser diff --git a/symbol_t.h b/symbol_t.h index 1fe4054..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,26 +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; - bool is_variadic; - size_t argument_count; - token_t *arguments; - 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; };