From: cuz Date: Sun, 20 Nov 2005 21:51:50 +0000 (+0000) Subject: Add a linefeed after internal compiler error messages X-Git-Tag: V2.12.0~189 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=101ce0941f6616ecf968a4865138edb1f8d24351;p=cc65 Add a linefeed after internal compiler error messages git-svn-id: svn://svn.cc65.org/cc65/trunk@3661 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/error.c b/src/cc65/error.c index 29b4a3443..2877ba4f4 100644 --- a/src/cc65/error.c +++ b/src/cc65/error.c @@ -75,7 +75,7 @@ static void IntWarning (const char* Filename, unsigned LineNo, const char* Msg, fprintf (stderr, "%s(%u): Warning: ", Filename, LineNo); vfprintf (stderr, Msg, ap); fprintf (stderr, "\n"); - + if (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); vfprintf (stderr, Format, ap); va_end (ap); + fprintf (stderr, "\n"); if (Line) { fprintf (stderr, "\nInput: %.*s\n", SB_GetLen (Line), SB_GetConstBuf (Line));