(uxnasm) Start line number at 1
This commit is contained in:
parent
fc6ec0b387
commit
fde8305d65
|
@ -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