Mercurial > projects > ddmd
annotate dmd/FileExp.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 |
rev | line source |
---|---|
72 | 1 module dmd.FileExp; |
2 | |
3 import dmd.Expression; | |
4 import dmd.UnaExp; | |
5 import dmd.OutBuffer; | |
6 import dmd.Loc; | |
7 import dmd.Scope; | |
8 import dmd.HdrGenState; | |
9 import dmd.TOK; | |
10 | |
0 | 11 class FileExp : UnaExp |
12 { | |
13 this(Loc loc, Expression e) | |
14 { | |
72 | 15 assert(false); |
0 | 16 super(loc, TOK.init, 0, e); |
17 } | |
18 | |
72 | 19 override Expression semantic(Scope sc) |
0 | 20 { |
21 assert(false); | |
22 } | |
23 | |
72 | 24 override void toCBuffer(OutBuffer buf, HdrGenState* hgs) |
0 | 25 { |
26 assert(false); | |
27 } | |
28 } | |
29 |