Commit Graph

9 Commits

Author SHA1 Message Date
3b866fc92f 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-19 18:26:12 +03:00
5be89808f2 refuse an output naming the source
-o naming the input wrote over it, whatever was asked for.
2026-10-19 18:26:12 +03:00
7aa50a040a refuse a second input file
It was never read, and nothing said so.
2026-10-19 18:26:12 +03:00
e5b2342ffa 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-19 18:26:12 +03:00
7118dac3cf read a lone - as stdin
getopt-long read it as an option it did not know, and died.
2026-10-19 18:26:12 +03:00
6f7b28cfa5 drop the default SEXC from the check scripts' usage 2026-10-19 18:23:20 +03:00
7547deb8dd 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 18:23:20 +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