]> git.sur5r.net Git - cc65/commitdiff
Output notifications for line info from macro parameters in case of
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 4 Nov 2012 12:36:00 +0000 (12:36 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 4 Nov 2012 12:36:00 +0000 (12:36 +0000)
errors/warnings.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5904 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/ca65/error.c

index b042581504a6f9c45f75e5b3da81eba1327c8c27..45cdfe1cde66f5453dd67fbbfb0510d534044f2c 100644 (file)
@@ -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;