regression tests output check & fixes

This commit is contained in:
ProgramSnail 2025-03-16 14:26:48 +03:00
parent 3dfefdb2ca
commit 905632aab6
4 changed files with 14 additions and 4 deletions

View file

@ -235,6 +235,10 @@ static inline void s_exit_f() {
#endif
s_popn(f_args_sz(&frame));
if (frame.closure) {
s_pop();
}
// save returned value, not in main
if (frame.prev_fp != 0) {
s_push(frame.ret);