From: Shamus Hammons Date: Wed, 9 Jun 2021 01:48:19 +0000 (-0500) Subject: Small fix that should have gone into the last commit. :-P X-Git-Tag: v2.1.9~2 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=58c0626339e0d7f57818835b068c3d666dc82459;hp=9102e505f5b98304d3810d40be2446fef5258604;p=rmac Small fix that should have gone into the last commit. :-P --- 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: