From 76fc38b3cdfded2911b464baa7b182b5102318d1 Mon Sep 17 00:00:00 2001 From: Galin Simeonov Date: Thu, 3 Jun 2021 12:38:37 +0300 Subject: work on generated C code --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 1001c51..fe3a9f4 100644 --- a/src/main.c +++ b/src/main.c @@ -52,7 +52,7 @@ int main(int argc,char **argv) print_ast(translation_unit); }else if(options->target==OPTION_TARGET_C) { - ast_to_c(stdout,translation_unit); + ast_to_c(options->output_name,translation_unit); } delete_ast(translation_unit); } -- cgit v1.2.3