Standard formatting of error messages.
https://www.gnu.org/prep/standards/html_node/Errors.html Issue: https://github.com/cc65/cc65/issues/1494
This commit is contained in:
committed by
Oliver Schmidt
parent
bda5bf70ce
commit
bcc670ee36
@@ -92,7 +92,7 @@ void CfgWarning (const FilePos* Pos, const char* Format, ...)
|
||||
SB_VPrintf (&Buf, Format, ap);
|
||||
va_end (ap);
|
||||
|
||||
Warning ("%s(%u): %s",
|
||||
Warning ("%s:%u: %s",
|
||||
GetString (Pos->Name), Pos->Line, SB_GetConstBuf (&Buf));
|
||||
SB_Done (&Buf);
|
||||
}
|
||||
@@ -109,7 +109,7 @@ void CfgError (const FilePos* Pos, const char* Format, ...)
|
||||
SB_VPrintf (&Buf, Format, ap);
|
||||
va_end (ap);
|
||||
|
||||
Error ("%s(%u): %s",
|
||||
Error ("%s:%u: %s",
|
||||
GetString (Pos->Name), Pos->Line, SB_GetConstBuf (&Buf));
|
||||
SB_Done (&Buf);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user