Merge pull request #2762 from kugelfuhr/kugelfuhr/fix-1778

Change notification message used when pointing to the macro an error comes from
This commit is contained in:
Bob Andrews
2025-07-02 00:35:24 +02:00
committed by GitHub
2 changed files with 7 additions and 7 deletions

View File

@@ -148,7 +148,7 @@ static void AddNotifications (const Collection* LineInfos)
break;
case LI_TYPE_MACRO:
Msg = "Macro was defined here";
Msg = "Expanded from macro here";
break;
case LI_TYPE_MACPARAM:

View File

@@ -1,9 +1,9 @@
010-paramcount.s:18: Warning: User warning: r1 is blank!
010-paramcount.s:14: Note: Macro was defined here
010-paramcount.s:8: Note: Macro was defined here
010-paramcount.s:14: Note: Expanded from macro here
010-paramcount.s:8: Note: Expanded from macro here
010-paramcount.s:19: Warning: User warning: r1 is blank!
010-paramcount.s:14: Note: Macro was defined here
010-paramcount.s:8: Note: Macro was defined here
010-paramcount.s:14: Note: Expanded from macro here
010-paramcount.s:8: Note: Expanded from macro here
010-paramcount.s:20: Warning: User warning: r1 is blank!
010-paramcount.s:14: Note: Macro was defined here
010-paramcount.s:8: Note: Macro was defined here
010-paramcount.s:14: Note: Expanded from macro here
010-paramcount.s:8: Note: Expanded from macro here