comparison dmd/SharedStaticDtorDeclaration.d @ 192:eb38fdcb3e62 default tip

updated to compile with dmd2.062
author korDen
date Sat, 02 Mar 2013 01:25:52 -0800
parents b0d41ff5e0df
children
comparison
equal deleted inserted replaced
191:52188e7e3fb5 192:eb38fdcb3e62
16 this(Loc loc, Loc endloc) 16 this(Loc loc, Loc endloc)
17 { 17 {
18 super(loc, endloc, "_sharedStaticDtor"); 18 super(loc, endloc, "_sharedStaticDtor");
19 } 19 }
20 20
21 Dsymbol syntaxCopy(Dsymbol s) 21 override Dsymbol syntaxCopy(Dsymbol s)
22 { 22 {
23 assert(!s); 23 assert(!s);
24 SharedStaticDtorDeclaration sdd = new SharedStaticDtorDeclaration(loc, endloc); 24 SharedStaticDtorDeclaration sdd = new SharedStaticDtorDeclaration(loc, endloc);
25 return FuncDeclaration.syntaxCopy(sdd); 25 return FuncDeclaration.syntaxCopy(sdd);
26 } 26 }
27 27
28 void toCBuffer(OutBuffer buf, HdrGenState* hgs) 28 override void toCBuffer(OutBuffer buf, HdrGenState* hgs)
29 { 29 {
30 if (!hgs.hdrgen) 30 if (!hgs.hdrgen)
31 { 31 {
32 buf.writestring("shared "); 32 buf.writestring("shared ");
33 StaticDtorDeclaration.toCBuffer(buf, hgs); 33 StaticDtorDeclaration.toCBuffer(buf, hgs);
34 } 34 }
35 } 35 }
36 36
37 SharedStaticDtorDeclaration isSharedStaticDtorDeclaration() { return this; } 37 override SharedStaticDtorDeclaration isSharedStaticDtorDeclaration() { return this; }
38 } 38 }