diff dmd/PragmaDeclaration.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 fd4acc376c45
children 7e0d548de9e6
line wrap: on
line diff
--- a/dmd/PragmaDeclaration.d	Sat Aug 28 16:14:07 2010 +0200
+++ b/dmd/PragmaDeclaration.d	Sat Aug 28 16:19:48 2010 +0200
@@ -34,7 +34,7 @@
 		this.args = args;
 	}
 
-    Dsymbol syntaxCopy(Dsymbol s)
+    override Dsymbol syntaxCopy(Dsymbol s)
 	{
 		//printf("PragmaDeclaration.syntaxCopy(%s)\n", toChars());
 		PragmaDeclaration pd;
@@ -44,7 +44,7 @@
 		return pd;
 	}
 	
-    void semantic(Scope sc)
+    override void semantic(Scope sc)
 	{
 		// Should be merged with PragmaStatement
 
@@ -194,7 +194,7 @@
 			error("pragma is missing closing ';'");
 	}
 	
-    void setScope(Scope sc)
+    override void setScope(Scope sc)
 	{
 version (TARGET_NET) {
     if (ident == Lexer.idPool("assembly"))
@@ -227,22 +227,22 @@
 }
 	}
 	
-    bool oneMember(Dsymbol* ps)
+    override bool oneMember(Dsymbol* ps)
 	{
 		assert(false);
 	}
 	
-    void toCBuffer(OutBuffer buf, HdrGenState* hgs)
+    override void toCBuffer(OutBuffer buf, HdrGenState* hgs)
 	{
 		assert(false);
 	}
 	
-    string kind()
+    override string kind()
 	{
 		assert(false);
 	}
 	
-    void toObjFile(int multiobj)			// compile to .obj file
+    override void toObjFile(int multiobj)			// compile to .obj file
 	{
 		if (ident == Id.lib)
 		{