From 8e8b179a25b1b5bca888e1828a9dba9581c18f2f Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Wed, 3 Apr 2024 19:19:26 -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 *