commit 566c2d1e0fe71d87c00fa6b114d8215e3ccb9b54 Author: Bertram Felgenhauer Date: Fri Jun 19 00:24:33 2026 +0200 another ';ASSERT' handling fix The following code fails the second assertion: x EQU 1 ;assert 1 == 1 ;assert 1 It turns out that the expression parsed for that `assert` is `1 == 11`. The solution is to clear the `dest` buffer before assembling the asserted condition. diff --git a/src/asm.c b/src/asm.c index 678bf2f..389c82d 100644 --- a/src/asm.c +++ b/src/asm.c @@ -628,6 +628,7 @@ lineswitch(str, dest, idx, aline) /* line switch */ if (strcmp(token, "ASSERT") == 0) { long result; + *dest = '\0'; trav2((char *) str + i, dest, SVAL); if (SWITCH_V) {