comparison dmd/TemplateExp.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 10317f0c89a5
children e28b18c23469
comparison
equal deleted inserted replaced
71:8e24ef1dd139 72:2e2a5c3f943a
16 super(loc, TOK.TOKtemplate, TemplateExp.sizeof); 16 super(loc, TOK.TOKtemplate, TemplateExp.sizeof);
17 //printf("TemplateExp(): %s\n", td.toChars()); 17 //printf("TemplateExp(): %s\n", td.toChars());
18 this.td = td; 18 this.td = td;
19 } 19 }
20 20
21 void rvalue() 21 override void rvalue()
22 { 22 {
23 error("template %s has no value", toChars()); 23 error("template %s has no value", toChars());
24 } 24 }
25 25
26 void toCBuffer(OutBuffer buf, HdrGenState* hgs) 26 override void toCBuffer(OutBuffer buf, HdrGenState* hgs)
27 { 27 {
28 buf.writestring(td.toChars()); 28 buf.writestring(td.toChars());
29 } 29 }
30 } 30 }
31 31