Commit 01f01dc6 authored by Camil Staps's avatar Camil Staps 🍃

Fix programs using e_system_nind

parent 8407c79f
Pipeline #25613 passed with stages
in 13 minutes and 29 seconds
......@@ -514,6 +514,8 @@ int parse_program(struct parser *state, struct char_provider *cp) {
state->program->symbol_table[state->ptr].offset = (BC_WORD) INTERPRETER_OR_PRELINKER(&CHAR,16);
} else if (!strcmp(state->program->symbol_table[state->ptr].name, "REAL")) {
state->program->symbol_table[state->ptr].offset = (BC_WORD) INTERPRETER_OR_PRELINKER(&REAL,21);
} else if (!strcmp(state->program->symbol_table[state->ptr].name, "e__system__nind")) {
state->program->symbol_table[state->ptr].offset = (BC_WORD) INTERPRETER_OR_PRELINKER(&__interpreter_indirection[5], 137);
} else if (state->program->symbol_table[state->ptr].offset == -1) {
# ifdef DEBUG_CLEAN_LINKS
EPRINTF("Warning: symbol '%s' is not defined.\n",state->program->symbol_table[state->ptr].name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment