diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-04-07 15:39:17 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-05-03 18:48:16 +0200 |
commit | 0fe9edb7f7a43cfd72c6ec34004ec68f36797908 (patch) | |
tree | 3f2f9922e47181b5ac9622deb292e14785ccd015 /tools | |
parent | be261dc88a1f27cb2e404eab65e6aef17c024997 (diff) | |
download | andean-abyss-0fe9edb7f7a43cfd72c6ec34004ec68f36797908.tar.gz |
Event pass.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gencode.js | 2 |
1 files changed, 2 insertions, 0 deletions
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(", ") + " ],") } |