diff dmd/dsymbol.c @ 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 aaade6ded589
children 44f08170f4ef
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;