Mercurial > projects > ddmd
comparison dmd/Global.d @ 177:1475fd394c9e
bug fixes
author | korDen |
---|---|
date | Sun, 10 Oct 2010 10:38:55 +0400 |
parents | fa9a71a9f5a8 |
children | e3afd1303184 |
comparison
equal
deleted
inserted
replaced
176:fa9a71a9f5a8 | 177:1475fd394c9e |
---|---|
199 | 199 |
200 arrayfuncs = new StringTable(); | 200 arrayfuncs = new StringTable(); |
201 | 201 |
202 sarray = new Array(); | 202 sarray = new Array(); |
203 | 203 |
204 obj_symbols_towrite = new Array(); | |
205 | |
206 ectorgates = new Array(); | |
207 | |
208 init_time(); | |
209 } | |
210 | |
211 void initClasssym() | |
212 { | |
213 scc = fake_classsym(Id.ClassInfo); | |
214 | |
204 scope Scope sc = new Scope(); | 215 scope Scope sc = new Scope(); |
205 | 216 |
206 tftohash = new TypeFunction(null, Type.thash_t, 0, LINK.LINKd); | 217 tftohash = new TypeFunction(null, Type.thash_t, 0, LINK.LINKd); |
207 tftohash.mod = MOD.MODconst; | 218 tftohash.mod = MOD.MODconst; |
208 tftohash = cast(TypeFunction)tftohash.semantic(Loc(0), sc); | 219 tftohash = cast(TypeFunction)tftohash.semantic(Loc(0), sc); |
209 | 220 |
210 tftostring = new TypeFunction(null, Type.tchar.invariantOf().arrayOf(), 0, LINK.LINKd); | 221 tftostring = new TypeFunction(null, Type.tchar.invariantOf().arrayOf(), 0, LINK.LINKd); |
211 tftostring = cast(TypeFunction)tftostring.semantic(Loc(0), sc); | 222 tftostring = cast(TypeFunction)tftostring.semantic(Loc(0), sc); |
212 | |
213 obj_symbols_towrite = new Array(); | |
214 | |
215 ectorgates = new Array(); | |
216 | |
217 init_time(); | |
218 } | |
219 | |
220 void initClasssym() | |
221 { | |
222 scc = fake_classsym(Id.ClassInfo); | |
223 } | 223 } |
224 | 224 |
225 void init_time() | 225 void init_time() |
226 { | 226 { |
227 time_t tm; | 227 time_t tm; |