X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=symbol_t.h;h=77718e6df0f1ef0e051284631997ceef839645d2;hb=2ee1c58e7b47126ee3bd7566b7aadd0bc6d9e95e;hp=42fe92c153d3b62694936ccbf516e089e61b5894;hpb=e97bf80ad2ba7f01d4a2b51d243d6273ae2d65a1;p=cparser diff --git a/symbol_t.h b/symbol_t.h index 42fe92c..77718e6 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 @@ -25,24 +25,12 @@ #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; - entity_t *entity; - pp_definition_t *pp_definition; + char const *string; + unsigned short ID; + pp_token_kind_t pp_ID; + entity_t *entity; + pp_definition_t *pp_definition; }; #endif