From b845e4754be86d2216733d9bea75cb301f38739d Mon Sep 17 00:00:00 2001 From: Galin Simeonov Date: Fri, 4 Jun 2021 13:04:36 +0300 Subject: added expressions and the if statement --- src/backend/targets/C/ast_to_c.c | 2 +- src/backend/targets/C/ast_to_c.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/targets/C') diff --git a/src/backend/targets/C/ast_to_c.c b/src/backend/targets/C/ast_to_c.c index 79d6017..3ce923d 100644 --- a/src/backend/targets/C/ast_to_c.c +++ b/src/backend/targets/C/ast_to_c.c @@ -3,7 +3,7 @@ #include #include -void ast_to_c(char *output_name,struct AST *tree) +void ast_to_c(char *output_name,struct AST_Translation_Unit *tree) { size_t output_name_length; char *hold_name; diff --git a/src/backend/targets/C/ast_to_c.h b/src/backend/targets/C/ast_to_c.h index 6e4006f..fb3e729 100644 --- a/src/backend/targets/C/ast_to_c.h +++ b/src/backend/targets/C/ast_to_c.h @@ -9,7 +9,7 @@ struct State_And_Transitions; -void ast_to_c(char *output_name,struct AST *tree); +void ast_to_c(char *output_name,struct AST_Translation_Unit *tree); void ast_translation_unit_to_c_print_header_part(FILE *out,char *base_name,struct AST_Translation_Unit *translation_unit); void ast_translation_unit_to_c_print_body_part(FILE *out,char *base_name,struct AST_Translation_Unit *translation_unit); -- cgit v1.2.3