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;