1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-26 02:30:17 +00:00

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
This commit is contained in:
uz 2012-11-04 12:36:00 +00:00
parent 5410cdea29
commit 0b5c667cd9

View File

@ -6,7 +6,7 @@
/* */ /* */
/* */ /* */
/* */ /* */
/* (C) 1998-2011, Ullrich von Bassewitz */ /* (C) 1998-2012, Ullrich von Bassewitz */
/* Roemerstrasse 52 */ /* Roemerstrasse 52 */
/* D-70794 Filderstadt */ /* D-70794 Filderstadt */
/* EMail: uz@cc65.org */ /* EMail: uz@cc65.org */
@ -62,7 +62,7 @@ unsigned ErrorCount = 0;
unsigned WarningCount = 0; unsigned WarningCount = 0;
/* Maximum number of additional notifications */ /* 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"; Msg = "Macro was defined here";
break; break;
case LI_TYPE_MACPARAM:
Msg = "Macro parameter came from here";
break;
default: default:
/* No output */ /* No output */
Msg = 0; Msg = 0;