tcc -E: add one space in cases: tiny solution

replaces f5f82abc99

Also: fix tcc flags in Makefile, fix tcc -E
This commit is contained in:
grischka
2016-10-01 21:52:11 +02:00
parent afdbc5b815
commit 643a1b8848
3 changed files with 26 additions and 54 deletions

6
tcc.c
View File

@ -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) {