From 0fe9edb7f7a43cfd72c6ec34004ec68f36797908 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 7 Apr 2023 15:39:17 +0200 Subject: Event pass. --- tools/gencode.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') diff --git a/tools/gencode.js b/tools/gencode.js index efe1556..4f5f421 100644 --- a/tools/gencode.js +++ b/tools/gencode.js @@ -12,6 +12,8 @@ function emit(line) { for (let i = 1; i < line.length; ++i) { if (typeof line[i] === "string" && line[i][0] === "(" && !line[i].match(/\)=>/)) line[i] = "()=>" + line[i] + if (typeof line[i] === "string" && line[i][0] === "`") + line[i] = "()=>" + line[i] } console.log("\t[ " + line.join(", ") + " ],") } -- cgit v1.2.3