diff dmd/GotoCaseStatement.d @ 72:2e2a5c3f943a

reduced warnings by adding override to the methods think this also normalizes different line endings used all over the place
author Trass3r
date Sat, 28 Aug 2010 16:19:48 +0200
parents 4290d870944a
children e28b18c23469
line wrap: on
line diff
--- a/dmd/GotoCaseStatement.d	Sat Aug 28 16:14:07 2010 +0200
+++ b/dmd/GotoCaseStatement.d	Sat Aug 28 16:19:48 2010 +0200
@@ -24,14 +24,14 @@
 		this.exp = exp;
 	}
 	
-    Statement syntaxCopy()
+    override Statement syntaxCopy()
 	{
 		Expression e = exp ? exp.syntaxCopy() : null;
 		GotoCaseStatement s = new GotoCaseStatement(loc, e);
 		return s;
 	}
 	
-    Statement semantic(Scope sc)
+    override Statement semantic(Scope sc)
 	{
 		if (exp)
 			exp = exp.semantic(sc);
@@ -50,17 +50,17 @@
 		return this;
 	}
 	
-    Expression interpret(InterState istate)
+    override Expression interpret(InterState istate)
 	{
 		assert(false);
 	}
 	
-    BE blockExit()
+    override BE blockExit()
 	{
 		return BEgoto;
 	}
 	
-    void toCBuffer(OutBuffer buf, HdrGenState* hgs)
+    override void toCBuffer(OutBuffer buf, HdrGenState* hgs)
 	{
 		buf.writestring("goto case");
 		if (exp)
@@ -72,8 +72,8 @@
 		buf.writenl();
 	}
 
-    void toIR(IRState* irs)
+    override void toIR(IRState* irs)
 	{
 		assert(false);
 	}
-}
\ No newline at end of file
+}