(uxnasm) Start line number at 1
This commit is contained in:
parent
4f3ced9552
commit
6bc1232bad
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue