From: uz Date: Sun, 4 Nov 2012 12:36:00 +0000 (+0000) Subject: Output notifications for line info from macro parameters in case of X-Git-Tag: V2.14~170 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0b5c667cd9026fbf7b918048c7de8357ca4a083c;p=cc65 Output notifications for line info from macro parameters in case of errors/warnings. git-svn-id: svn://svn.cc65.org/cc65/trunk@5904 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ca65/error.c b/src/ca65/error.c index b04258150..45cdfe1cd 100644 --- a/src/ca65/error.c +++ b/src/ca65/error.c @@ -6,7 +6,7 @@ /* */ /* */ /* */ -/* (C) 1998-2011, Ullrich von Bassewitz */ +/* (C) 1998-2012, Ullrich von Bassewitz */ /* Roemerstrasse 52 */ /* D-70794 Filderstadt */ /* EMail: uz@cc65.org */ @@ -62,7 +62,7 @@ unsigned ErrorCount = 0; unsigned WarningCount = 0; /* Maximum number of additional notifications */ -#define MAX_NOTES 6 +#define MAX_NOTES 8 @@ -147,6 +147,10 @@ static void AddNotifications (const Collection* LineInfos) Msg = "Macro was defined here"; break; + case LI_TYPE_MACPARAM: + Msg = "Macro parameter came from here"; + break; + default: /* No output */ Msg = 0;