Mercurial > projects > ddmd
comparison dmd/SharedStaticCtorDeclaration.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, "_sharedStaticCtor"); | 18 super(loc, endloc, "_sharedStaticCtor"); |
19 } | 19 } |
20 | 20 |
21 Dsymbol syntaxCopy(Dsymbol s) | 21 override Dsymbol syntaxCopy(Dsymbol s) |
22 { | 22 { |
23 assert(!s); | 23 assert(!s); |
24 SharedStaticCtorDeclaration scd = new SharedStaticCtorDeclaration(loc, endloc); | 24 SharedStaticCtorDeclaration scd = new SharedStaticCtorDeclaration(loc, endloc); |
25 return FuncDeclaration.syntaxCopy(scd); | 25 return FuncDeclaration.syntaxCopy(scd); |
26 } | 26 } |
27 | 27 |
28 void toCBuffer(OutBuffer buf, HdrGenState* hgs) | 28 override void toCBuffer(OutBuffer buf, HdrGenState* hgs) |
29 { | 29 { |
30 buf.writestring("shared "); | 30 buf.writestring("shared "); |
31 StaticCtorDeclaration.toCBuffer(buf, hgs); | 31 StaticCtorDeclaration.toCBuffer(buf, hgs); |
32 } | 32 } |
33 | 33 |
34 SharedStaticCtorDeclaration isSharedStaticCtorDeclaration() { return this; } | 34 override SharedStaticCtorDeclaration isSharedStaticCtorDeclaration() { return this; } |
35 } | 35 } |