diff options
| author | grischka <grischka> | 2016-10-01 21:52:11 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2016-10-01 21:52:11 +0200 |
| commit | 643a1b8848d3d9cb703a7561c7f89191e8511cf1 (patch) | |
| tree | cfe321d31366d2675588e2b8ec29946f57426e5f /tcc.c | |
| parent | afdbc5b8152debb2ef053720b95f37a4cf4106eb (diff) | |
| download | tinycc-643a1b8848d3d9cb703a7561c7f89191e8511cf1.tar.gz tinycc-643a1b8848d3d9cb703a7561c7f89191e8511cf1.tar.bz2 | |
tcc -E: add one space in cases: tiny solution
replaces f5f82abc99424c4ece836000934fcf57a867c635
Also: fix tcc flags in Makefile, fix tcc -E
Diffstat (limited to 'tcc.c')
| -rw-r--r-- | tcc.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -331,7 +331,11 @@ int main(int argc, char **argv) s->alacarte_link = 1; } - if (0 == ret) { + if (s->output_type == TCC_OUTPUT_PREPROCESS) { + if (s->outfile) + fclose(s->ppfp); + + } else if (0 == ret) { if (s->do_bench) tcc_print_stats(s, getclock_us() - start_time); if (s->output_type == TCC_OUTPUT_MEMORY) { |
