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

@ -598,7 +598,7 @@ JSWORD: web-key?-raw { -- f }
return context.inbuffer.length ? -1 : 0;
~
JSWORD: terminate { retval }
JSWORD: web-terminate { retval }
if (globalObj.quit) {
quit(retval);
} else {
@ -918,7 +918,6 @@ JSWORD: random { n -- n }
forth definitions web
: bye 0 terminate ;
: ms-ticks ms-ticks ;
forth definitions