From dd49c2ca0016478fa04fc79d70569adfa42463b7 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Tue, 29 Jul 2008 13:48:46 +0200 Subject: [PATCH] Give errors originating from Dsymbol::error the proper 'Error:' heading. --- dmd/dsymbol.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dmd/dsymbol.c b/dmd/dsymbol.c index 3b172890..ef44cdbd 100644 --- a/dmd/dsymbol.c +++ b/dmd/dsymbol.c @@ -464,6 +464,7 @@ void Dsymbol::error(const char *format, ...) fprintf(stdmsg, "%s: ", p); mem.free(p); + fprintf(stdmsg, "Error: "); if (isAnonymous()) fprintf(stdmsg, "%s ", kind()); else @@ -494,6 +495,7 @@ void Dsymbol::error(Loc loc, const char *format, ...) fprintf(stdmsg, "%s: ", p); mem.free(p); + fprintf(stdmsg, "Error: "); fprintf(stdmsg, "%s %s ", kind(), toPrettyChars()); va_list ap;