X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ast_t.h;h=332cc85a619b20fc42d1feba47310fcaa626d620;hb=b63886b188eeedf36d8df12df3fe1f5fd90818d4;hp=eefd350d9293533b7d85f2be15ee65ebe169fe9b;hpb=e97bf80ad2ba7f01d4a2b51d243d6273ae2d65a1;p=cparser diff --git a/ast_t.h b/ast_t.h index eefd350..332cc85 100644 --- a/ast_t.h +++ b/ast_t.h @@ -27,7 +27,7 @@ #include "symbol.h" #include "token_t.h" #include "type.h" -#include "entity.h" +#include "entity_t.h" #include "adt/obst.h" /** The AST obstack contains all data that must stay in the AST. */ @@ -228,16 +228,6 @@ typedef enum funcname_kind_t { EXPR_UNARY_CASES_MANDATORY \ EXPR_UNARY_CASES_OPTIONAL -/** - * A scope containing declarations. - */ -struct scope_t { - entity_t *entities; /**< List of declarations in this scope. */ - entity_t *last_entity; /**< last declaration in this scope. */ - scope_t *parent; /**< points to the parent scope. */ - unsigned depth; /**< while parsing, the depth of this scope in the scope stack. */ -}; - struct expression_base_t { expression_kind_t kind; type_t *type;