2b88286411
count a unit among its own imports
...
Two modules importing each other with pub hand the unit its own
interface back, and its types were defined twice.
2026-10-19 18:26:12 +03:00
b5f9089bf1
give importers the private macros a pub one expands into
...
Only pub macros crossed, so one built on a private macro expanded in
the importer into a call of a C function nothing defines.
2026-10-19 18:26:12 +03:00
8203d79495
look for an import beside the file it is written in
...
Imports were looked for from the unit's directory, so a module in a
subdirectory could not import its neighbours: a pub import failed, a
private one lost its handle declarations, and --public-interface changed
with where sexc ran.
2026-10-19 18:23:43 +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