Mercurial > projects > ddmd
comparison dmd/DotTemplateExp.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 | 9364afc02cf5 |
children | e28b18c23469 |
comparison
equal
deleted
inserted
replaced
71:8e24ef1dd139 | 72:2e2a5c3f943a |
---|---|
19 { | 19 { |
20 super(loc, TOK.TOKdottd, this.sizeof, e); | 20 super(loc, TOK.TOKdottd, this.sizeof, e); |
21 this.td = td; | 21 this.td = td; |
22 } | 22 } |
23 | 23 |
24 void toCBuffer(OutBuffer buf, HdrGenState* hgs) | 24 override void toCBuffer(OutBuffer buf, HdrGenState* hgs) |
25 { | 25 { |
26 expToCBuffer(buf, hgs, e1, PREC.PREC_primary); | 26 expToCBuffer(buf, hgs, e1, PREC.PREC_primary); |
27 buf.writeByte('.'); | 27 buf.writeByte('.'); |
28 buf.writestring(td.toChars()); | 28 buf.writestring(td.toChars()); |
29 } | 29 } |