From 3ebb74c73cd6466f15494c9a5ed785644e30ea4c Mon Sep 17 00:00:00 2001 From: Camden Dixie O'Brien Date: Sun, 15 Mar 2026 13:40:43 +0000 Subject: [PATCH] Check for null explicitly in token_top() --- asm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asm.js b/asm.js index 97f62b7..3a2c7e4 100644 --- a/asm.js +++ b/asm.js @@ -316,7 +316,7 @@ class Parser { if (opcode) return { type: Action.APPEND, opcode }; const literal = this.integer(token); - if (literal) + if (literal != null) return { type: Action.APPEND, literal }; return { type: Action.SYMBOL, symbol: token };