changeset 427:f1d37dc5d354

Give errors originating from Dsymbol::error the proper 'Error:' heading.
author Christian Kamm <kamm incasoftware de>
date Tue, 29 Jul 2008 13:48:46 +0200
parents e763821ab244
children 8b7cee241e91
files dmd/dsymbol.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dmd/dsymbol.c	Tue Jul 29 12:49:14 2008 +0200
+++ b/dmd/dsymbol.c	Tue Jul 29 13:48:46 2008 +0200
@@ -464,6 +464,7 @@
 	    fprintf(stdmsg, "%s: ", p);
 	mem.free(p);
 
+	fprintf(stdmsg, "Error: ");
 	if (isAnonymous())
 	    fprintf(stdmsg, "%s ", kind());
 	else
@@ -494,6 +495,7 @@
 	    fprintf(stdmsg, "%s: ", p);
 	mem.free(p);
 
+	fprintf(stdmsg, "Error: ");
 	fprintf(stdmsg, "%s %s ", kind(), toPrettyChars());
 
 	va_list ap;