print line and char number for the error

This commit is contained in:
Bill Currie 2001-08-02 02:49:14 +00:00
parent fd0c5aab36
commit 4c23641759

View file

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