(uxnasm) Start line number at 1

This commit is contained in:
Devine Lu Linvega 2024-04-02 08:38:19 -07:00
parent fc6ec0b387
commit fde8305d65
1 changed files with 1 additions and 1 deletions

View File

@ -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);