diff options
author | Galin Simeonov <gts@volconst.com> | 2021-06-03 12:38:37 +0300 |
---|---|---|
committer | Galin Simeonov <gts@volconst.com> | 2021-07-15 18:04:02 +0300 |
commit | 76fc38b3cdfded2911b464baa7b182b5102318d1 (patch) | |
tree | 389223f76086bff07a3cd762683e5a16d34d12d2 /src/main.c | |
parent | 85b23fbee717f047af5a89eac6f4dba8e7812524 (diff) | |
download | MEGATRON-76fc38b3cdfded2911b464baa7b182b5102318d1.tar.gz |
work on generated C code
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |