- better (and hopefully correct) implementation of __based pointer
[cparser] / symbol_t.h
index df2f226..49cf1e9 100644 (file)
 
 #include <stdbool.h>
 #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;
 };