macLib: add emphasis when expansion finds an undefined macro

This commit is contained in:
Michael Davidsaver
2024-09-10 10:46:17 -04:00
parent 2422e56d20
commit 7236f3ad5f

View File

@@ -895,7 +895,7 @@ static void refer ( MAC_HANDLE *handle, MAC_ENTRY *entry, int level,
entry->error = TRUE;
errval = ",undefined)";
if ( (handle->flags & FLAG_SUPPRESS_WARNINGS) == 0 ) {
errlogPrintf( "macLib: macro %s is undefined (expanding %s %s)\n",
errlogPrintf( "macLib: macro %s is " ANSI_MAGENTA("undefined") " (expanding %s %s)\n",
refname, entry->type, entry->name );
}
}