commit 6bc1232

Devine Lu Linvega  ·  2024-04-02 15:38:01 +0000 UTC
parent 4f3ced9
(uxnasm) Start line number at 1
1 files changed,  +1, -1
+1, -1
1@@ -281,7 +281,7 @@ assemble(char *filename)
2 	FILE *f;
3 	int res = 0;
4 	Context ctx;
5-	ctx.line = 0;
6+	ctx.line = 1;
7 	ctx.path = push(filename, 0);
8 	if(!(f = fopen(filename, "r")))
9 		return error_top("Source missing", filename);