Simplify terminate + bye + fix build.

This commit is contained in:
Brad Nelson
2022-12-31 21:02:04 -08:00
parent d60606b4c8
commit 1c500c2233
11 changed files with 14 additions and 27 deletions

View File

@ -97,7 +97,7 @@ static cell_t *simulated(cell_t *sp, const char *op) {
} else if (op == STR_SERIAL_AVAILABLE) {
*++sp = 1;
return sp;
} else if (op == STR_TERMINATE) {
} else if (op == STR_RAW_TERMINATE) {
exit(*sp--);
return sp;
} else if (op == STR_R_O) {