mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
modules: fixes to working condition
This commit is contained in:
parent
eb1ddfa447
commit
19c99bc7e5
16 changed files with 197 additions and 121 deletions
|
|
@ -22,10 +22,10 @@ typedef struct {
|
|||
char buffer[0];
|
||||
} Bytefile;
|
||||
|
||||
static inline void exec_failure(const char *cmd, int line, aint offset,
|
||||
const char *msg) {
|
||||
failure("*** RUNTIME ERROR: %i(0x%.8x):%s error: %s\n", line, offset, cmd,
|
||||
msg);
|
||||
static inline void exec_failure(const char *cmd, const char *module_name,
|
||||
int line, aint offset, const char *msg) {
|
||||
failure("*** RUNTIME ERROR: %s:%i(0x%.8x):%s error: %s\n", module_name, line,
|
||||
offset, cmd, msg);
|
||||
}
|
||||
|
||||
// --- unsafe versions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue