From 101ce0941f6616ecf968a4865138edb1f8d24351 Mon Sep 17 00:00:00 2001 From: cuz Date: Sun, 20 Nov 2005 21:51:50 +0000 Subject: [PATCH] Add a linefeed after internal compiler error messages git-svn-id: svn://svn.cc65.org/cc65/trunk@3661 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/error.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)); -- 2.39.5