X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=ast.h;h=2ec6b19447d65eb53ca753c3c432a2253c6816fd;hb=2f487005db774b00459937cc8e2aec5d381557cd;hp=cbcdcaa3f7f8736e778440466fc5eccc22f228be;hpb=dad2cfa20847b2ec1de207f807c41c4ed3471b81;p=cparser diff --git a/ast.h b/ast.h index cbcdcaa..2ec6b19 100644 --- a/ast.h +++ b/ast.h @@ -22,10 +22,12 @@ typedef struct conditional_expression_t conditional_expression_t; typedef struct expression_list_element_t expression_list_element_t; typedef struct comma_expression_t comma_expression_t; typedef struct statement_expression_t statement_expression_t; -typedef struct member_designator_t member_designator_t; +typedef struct designator_t designator_t; typedef struct offsetof_expression_t offsetof_expression_t; +typedef struct va_arg_expression_t va_arg_expression_t; typedef struct builtin_symbol_expression_t builtin_symbol_expression_t; +typedef struct initializer_t initializer_t; typedef struct declaration_t declaration_t; typedef struct statement_t statement_t; @@ -51,7 +53,11 @@ void exit_ast(void); void ast_set_output(FILE *out); void print_expression(const expression_t *expression); +void print_initializer(const initializer_t *initializer); void print_ast(const translation_unit_t *unit); +void print_indent(); +void print_declaration(const declaration_t *declaration); +void change_indent(int delta); void *allocate_ast(size_t size); #endif