From 80f7f97e9da7bde8fba7721b9a256e52699bfea0 Mon Sep 17 00:00:00 2001 From: othermore Date: Sat, 3 Oct 2026 21:59:06 +0200 Subject: [PATCH] Regenerate wwwbasic.mjs after the SLEEP fix tools/to_mjs.js makes wwwbasic.mjs from wwwbasic.js, and the module was not regenerated after the SLEEP fix (9086770): in the module, SLEEP still took its own keyword as its argument, so any program that used SLEEP stopped with an error when run from wwwbasic.mjs. --- wwwbasic.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/wwwbasic.mjs b/wwwbasic.mjs index c3be255..960071d 100644 --- a/wwwbasic.mjs +++ b/wwwbasic.mjs @@ -1876,6 +1876,7 @@ function Basic(code, options) { } Invoke('Line', Arguments('PdpIS')); } else if (tok == 'sleep') { + Next(); Invoke('Sleep', Arguments('i')); NewOp(); } else if (tok == 'swap') {