From a74df86d06b23d3ef35942a895cec42d580a8437 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Wed, 3 Apr 2024 19:20:10 -0700 Subject: [PATCH] (uxnasm) Fixed issue with skipped last token in include --- src/uxnasm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/uxnasm.c b/src/uxnasm.c index d6ef190..3eebac1 100644 --- a/src/uxnasm.c +++ b/src/uxnasm.c @@ -149,7 +149,8 @@ walkfile(FILE *f, Context *ctx) else return error_asm("Token too long"); } - return 1; + *cptr++ = 0; + return parse(token, f, ctx); } static char *