Add a linefeed after internal compiler error messages
git-svn-id: svn://svn.cc65.org/cc65/trunk@3661 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -75,7 +75,7 @@ static void IntWarning (const char* Filename, unsigned LineNo, const char* Msg,
|
|||||||
fprintf (stderr, "%s(%u): Warning: ", Filename, LineNo);
|
fprintf (stderr, "%s(%u): Warning: ", Filename, LineNo);
|
||||||
vfprintf (stderr, Msg, ap);
|
vfprintf (stderr, Msg, ap);
|
||||||
fprintf (stderr, "\n");
|
fprintf (stderr, "\n");
|
||||||
|
|
||||||
if (Line) {
|
if (Line) {
|
||||||
Print (stderr, 1, "Input: %.*s\n", SB_GetLen (Line), SB_GetConstBuf (Line));
|
Print (stderr, 1, "Input: %.*s\n", SB_GetLen (Line), SB_GetConstBuf (Line));
|
||||||
}
|
}
|
||||||
@@ -198,6 +198,7 @@ void Internal (const char* Format, ...)
|
|||||||
va_start (ap, Format);
|
va_start (ap, Format);
|
||||||
vfprintf (stderr, Format, ap);
|
vfprintf (stderr, Format, ap);
|
||||||
va_end (ap);
|
va_end (ap);
|
||||||
|
fprintf (stderr, "\n");
|
||||||
|
|
||||||
if (Line) {
|
if (Line) {
|
||||||
fprintf (stderr, "\nInput: %.*s\n", SB_GetLen (Line), SB_GetConstBuf (Line));
|
fprintf (stderr, "\nInput: %.*s\n", SB_GetLen (Line), SB_GetConstBuf (Line));
|
||||||
|
|||||||
Reference in New Issue
Block a user