From a26684a417729699e95b335a3d00798237ffba9b Mon Sep 17 00:00:00 2001 From: Galin Simeonov Date: Fri, 4 Jun 2021 16:42:52 +0300 Subject: added the if statement --- src/backend/targets/C/ast_to_c.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/backend/targets/C/ast_to_c.h') diff --git a/src/backend/targets/C/ast_to_c.h b/src/backend/targets/C/ast_to_c.h index fb3e729..299d6db 100644 --- a/src/backend/targets/C/ast_to_c.h +++ b/src/backend/targets/C/ast_to_c.h @@ -44,6 +44,10 @@ void ast_machines_to_c_array(FILE *out,struct AST_Translation_Unit *translation_ void ast_machines_to_c_enum(FILE *out,struct AST_Translation_Unit *translation_unit); void ast_event_to_c_enum(FILE *out,struct AST_Machine *machine,struct AST_Event *event); +void ast_statement_to_c(FILE *out,size_t indentation,struct AST *statement); +void ast_if_to_c(FILE *out,size_t indentation,struct AST_If_Statement *statement); +void ast_expression_to_c(FILE *out,struct AST *expression); +void ast_expression_state_to_c(FILE *out,struct AST_State *state); void ast_to_c_print_internal_stuff_for_header(FILE *out,struct AST_Translation_Unit *translation_unit); void ast_to_c_print_internal_stuff_for_body(FILE *out); -- cgit v1.2.3