diff dmd/CondExp.d @ 43:a509c8688fbd

CondExp.syntaxCopy
author korDen
date Sat, 21 Aug 2010 07:20:15 +0400
parents 10317f0c89a5
children adf6f7f216ea
line wrap: on
line diff
--- a/dmd/CondExp.d	Sat Aug 21 07:19:03 2010 +0400
+++ b/dmd/CondExp.d	Sat Aug 21 07:20:15 2010 +0400
@@ -37,7 +37,7 @@
 	
     Expression syntaxCopy()
 	{
-		assert(false);
+		return new CondExp(loc, econd.syntaxCopy(), e1.syntaxCopy(), e2.syntaxCopy());
 	}
 
     Expression semantic(Scope sc)