comparison dmd/CompoundDeclarationStatement.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 b7d29f613539
children e28b18c23469
comparison
equal deleted inserted replaced
71:8e24ef1dd139 72:2e2a5c3f943a
13 { 13 {
14 super(loc, s); 14 super(loc, s);
15 ///statements = s; 15 ///statements = s;
16 } 16 }
17 17
18 Statement syntaxCopy() 18 override Statement syntaxCopy()
19 { 19 {
20 Statements a = new Statements(); 20 Statements a = new Statements();
21 a.setDim(statements.dim); 21 a.setDim(statements.dim);
22 for (size_t i = 0; i < statements.dim; i++) 22 for (size_t i = 0; i < statements.dim; i++)
23 { 23 {
28 } 28 }
29 CompoundDeclarationStatement cs = new CompoundDeclarationStatement(loc, a); 29 CompoundDeclarationStatement cs = new CompoundDeclarationStatement(loc, a);
30 return cs; 30 return cs;
31 } 31 }
32 32
33 void toCBuffer(OutBuffer buf, HdrGenState* hgs) 33 override void toCBuffer(OutBuffer buf, HdrGenState* hgs)
34 { 34 {
35 assert(false); 35 assert(false);
36 } 36 }
37 } 37 }