(uxnasm) Start line number at 1

This commit is contained in:
Devine Lu Linvega 2024-04-02 08:38:01 -07:00
parent 4f3ced9552
commit 6bc1232bad
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ assemble(char *filename)
FILE *f; FILE *f;
int res = 0; int res = 0;
Context ctx; Context ctx;
ctx.line = 0; ctx.line = 1;
ctx.path = push(filename, 0); ctx.path = push(filename, 0);
if(!(f = fopen(filename, "r"))) if(!(f = fopen(filename, "r")))
return error_top("Source missing", filename); return error_top("Source missing", filename);