Mercurial > projects > ddmd
diff dmd/ScopeDsymbol.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 | 1628b221808d |
children | 7e0d548de9e6 |
line wrap: on
line diff
--- a/dmd/ScopeDsymbol.d Sat Aug 28 16:14:07 2010 +0200 +++ b/dmd/ScopeDsymbol.d Sat Aug 28 16:19:48 2010 +0200 @@ -36,7 +36,7 @@ super(id); } - Dsymbol syntaxCopy(Dsymbol s) + override Dsymbol syntaxCopy(Dsymbol s) { //printf("ScopeDsymbol.syntaxCopy('%s')\n", toChars()); @@ -49,7 +49,7 @@ return sd; } - Dsymbol search(Loc loc, Identifier ident, int flags) + override Dsymbol search(Loc loc, Identifier ident, int flags) { //printf("%s.ScopeDsymbol.search(ident='%s', flags=x%x)\n", toChars(), ident.toChars(), flags); //if (strcmp(ident.toChars(),"c") == 0) *(char*)0=0; @@ -186,12 +186,12 @@ } } - int isforwardRef() + override int isforwardRef() { assert(false); } - void defineRef(Dsymbol s) + override void defineRef(Dsymbol s) { assert(false); } @@ -222,7 +222,7 @@ assert(false); } - string kind() + override string kind() { assert(false); } @@ -276,5 +276,5 @@ assert(false); } - ScopeDsymbol isScopeDsymbol() { return this; } + override ScopeDsymbol isScopeDsymbol() { return this; } }