From 3a103c46d1c647ede0f8c9b0d8a4b41428f25b57 Mon Sep 17 00:00:00 2001 From: Camden Dixie O'Brien Date: Sun, 15 Mar 2026 17:32:14 +0000 Subject: [PATCH] Don't require ; to have space after in comments --- asm.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/asm.js b/asm.js index f8377a5..6154f00 100644 --- a/asm.js +++ b/asm.js @@ -58,7 +58,8 @@ class Tokenizer { this.buffer.push(...src); let token; while (token = this.next()) { - if (token == this.comment_start) + if (token.string == undefined + && token.startsWith(this.comment_start)) this.comment = true; else if (this.comment && token == LINE_END) this.comment = false;