Commit Graph

8 Commits

Author SHA1 Message Date
fb26b92fdc print an error as its message alone
Every error ended in CHICKEN's call history, which is for working on
sexc itself, and is now asked for by SEXC_DEBUG; a missing input file
says so, rather than as an open-input-file error of CHICKEN's.
2026-10-27 01:31:37 +03:00
7649e47297 refuse an output naming the source
-o naming the input wrote over it, whatever was asked for.
2026-10-27 01:31:37 +03:00
389e73323f refuse a second input file
It was never read, and nothing said so.
2026-10-27 01:31:37 +03:00
83282adfb9 leave none of an output a failure stopped writing
A failed -C -o left the file truncated, which make would take for done.
2026-10-27 01:31:37 +03:00
5afe32a888 read a lone - as stdin
getopt-long read it as an option it did not know, and died.
2026-10-27 01:31:37 +03:00
c33bfd704d check modules and exit codes with the test egg
Written as shell inside make, a check said only that it failed and left
the reason to rerunning it by hand; now each says what it expected.
2026-10-19 21:49:24 +03:00
62b1ead3eb refuse -o - for an executable or an object
Only the text outputs knew `-' as stdout; compiling handed it to cc as
a file name, and left a binary called `-' behind.
2026-10-19 16:05:08 +03:00
294a275905 fail when the C compiler fails, and clean up when we do
compile-to-file returned process-wait's values and main dropped them,
so cc errors were printed, but then main compiler exited 0.

Also cleanup tmp C files when compilation failed.
2026-09-16 17:34:24 +03:00