better failure reporting

This commit is contained in:
ProgramSnail 2024-11-12 00:10:02 +03:00
parent 34675f0cb7
commit 963e286f49
9 changed files with 184 additions and 63 deletions

View file

@ -27,4 +27,6 @@ char *get_public_name(bytefile *f, size_t i);
/* Gets an offset for a public symbol */
size_t get_public_offset(bytefile *f, size_t i);
void exec_failure(const char *cmd, int line, aint offset, const char *msg);
// ---