From 4c23641759c4f81c184d550c069a6c73aacb86cd Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 2 Aug 2001 02:49:14 +0000 Subject: [PATCH] print line and char number for the error --- libs/util/qfplist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/util/qfplist.c b/libs/util/qfplist.c index bf01b4a98..5907c5231 100644 --- a/libs/util/qfplist.c +++ b/libs/util/qfplist.c @@ -484,7 +484,7 @@ PL_GetPropertyList (const char *string) return newpl; } else { 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); return NULL; }