fix: compilation on Linux, using eax for return code

This commit is contained in:
2025-01-16 09:39:55 +01:00
parent 8771e68391
commit c4f5222672
4 changed files with 8 additions and 3 deletions

View File

@@ -202,7 +202,7 @@ int pasm_run_script(const char *filename, char **file, size_t lines, int _fstrea
free_(line);
}
int ret_code = get_exit_state();
int ret_code = get_exit_code();
free__script(file);
return ret_code;
}