From 58c0626339e0d7f57818835b068c3d666dc82459 Mon Sep 17 00:00:00 2001 From: Shamus Hammons Date: Tue, 8 Jun 2021 20:48:19 -0500 Subject: [PATCH] Small fix that should have gone into the last commit. :-P --- error.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/error.c b/error.c index 1452e98..6945fc4 100644 --- a/error.c +++ b/error.c @@ -127,7 +127,8 @@ int error(const char * text, ...) filename = fr->frec_name; - sprintf(buf1, "%s %d: Error: %s\n", filename, cur_inobj->inobj.imacro->im_macro->lineList->lineno, buf); + sprintf(buf1, "%s %d: Error: %s\nCalled from: %s %d\n", filename, cur_inobj->inobj.imacro->im_macro->lineList->lineno, buf, + curfname, curlineno); } break; case SRC_IREPT: -- 2.37.2