mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-11 21:31:30 +00:00
print line and char number for the error
This commit is contained in:
parent
fd0c5aab36
commit
4c23641759
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ PL_GetPropertyList (const char *string)
|
||||||
return newpl;
|
return newpl;
|
||||||
} else {
|
} else {
|
||||||
if (pl && pl->error && pl->error[0])
|
if (pl && pl->error && pl->error[0])
|
||||||
Sys_Error ("%s\n", pl->error);
|
Sys_Error ("%d,%d: %s\n", pl->line, pl->pos, pl->error);
|
||||||
free (pl);
|
free (pl);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue