all repos — hex @ 9528367a7194aa51594ddc5fa371a6321f6505d1

A tiny, minimalist, slightly-esoteric concatenative programming lannguage.

Fixes.
h3rald h3rald@h3rald.com
Mon, 02 Dec 2024 18:00:28 +0100
commit

9528367a7194aa51594ddc5fa371a6321f6505d1

parent

d0bab75f02a8c195bcc42886dafd41739d197552

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M hex.chex.c

@@ -4,7 +4,7 @@ #ifdef EMSCRIPTEN

#include <emscripten.h> EM_ASYNC_JS(char *, em_fgets, (const char *buf, size_t bufsize), { - return await new Promise((resolve, reject) = > { + return await new Promise(function(resolve, reject) { if (Module.pending_lines.length > 0) { resolve(Module.pending_lines.shift());