file parser, file merge, callf command remove, SM fixes. todo: fix interpreter and analyzer with new algorithm

This commit is contained in:
ProgramSnail 2025-02-23 15:10:22 +03:00
parent 51381aea43
commit 343a21ee2d
8 changed files with 256 additions and 77 deletions

View file

@ -255,7 +255,7 @@ static inline void **var_by_category(enum VarCategory category, size_t id) {
// s.bf->global_area_size);
}
#endif
var = s.stack + STACK_SIZE - 1 - id;
var = s.bf->global_ptr + STACK_SIZE - 1 - id;
break;
case VAR_LOCAL:
#ifndef WITH_CHECK