diff options
author | Galin Simeonov <gts@volconst.com> | 2021-06-04 13:04:36 +0300 |
---|---|---|
committer | Galin Simeonov <gts@volconst.com> | 2021-07-15 18:04:02 +0300 |
commit | b845e4754be86d2216733d9bea75cb301f38739d (patch) | |
tree | 5ba6355d1cb36b1bfaadf82781796b1c42b9202b /src/backend/targets/C | |
parent | 76fc38b3cdfded2911b464baa7b182b5102318d1 (diff) | |
download | MEGATRON-b845e4754be86d2216733d9bea75cb301f38739d.tar.gz |
added expressions and the if statement
Diffstat (limited to 'src/backend/targets/C')
-rw-r--r-- | src/backend/targets/C/ast_to_c.c | 2 | ||||
-rw-r--r-- | src/backend/targets/C/ast_to_c.h | 2 |
2 files changed, 2 insertions, 2 deletions
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 <ast_to_c.h> #include <print.h> -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); |