Remove dup output
This commit is contained in:
parent
ea7fcd85b4
commit
00e7ce2bd0
1
tomo.c
1
tomo.c
@ -140,7 +140,6 @@ int main(int argc, char *argv[])
|
||||
|
||||
prog = popen(heap_strf("%s -x c %s -E - | %s > %s.c", cc, cflags, autofmt, f->filename), "w");
|
||||
CORD_put(CORD_all("#include \"", f->filename, ".h\"\n\n", module.c_file), prog);
|
||||
CORD_put(module.c_file, prog);
|
||||
status = pclose(prog);
|
||||
if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
|
||||
printf("Transpiled to %s.c\n", f->filename);
|
||||
|
Loading…
Reference in New Issue
Block a user