commit fde8305d65a03a9777898aea24d3e2eaafe921da
parent fc6ec0b387723940868133fade8854ad37648881
Author: Devine Lu Linvega <aliceffekt@gmail.com>
Date: Tue, 2 Apr 2024 08:38:19 -0700
(uxnasm) Start line number at 1
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/uxnasm.c b/src/uxnasm.c
@@ -281,7 +281,7 @@ assemble(char *filename)
FILE *f;
int res = 0;
Context ctx;
- ctx.line = 0;
+ ctx.line = 1;
ctx.path = push(filename, 0);
if(!(f = fopen(filename, "r")))
return error_top("Source missing", filename);