diff dmd/Statement.d @ 58:ecf732dfe11e

Statement.error Dsymbol.equals SuperExp.toCBuffer DotVarExp.isLvalue FuncExp.toChars
author korDen
date Sat, 21 Aug 2010 14:52:59 +0400
parents 10317f0c89a5
children cab4c37afb89
line wrap: on
line diff
--- a/dmd/Statement.d	Sat Aug 21 14:46:32 2010 +0400
+++ b/dmd/Statement.d	Sat Aug 21 14:52:59 2010 +0400
@@ -49,7 +49,7 @@
 
     void error(T...)(string format, T t)
 	{
-		assert(false);
+		.error(loc, format, t);
 	}
 	
     void warning(T...)(string format, T t)