Mercurial > projects > ddmd
comparison dmd/StaticIfDeclaration.d @ 77:ad4792a1cfd6
more D-ification container accessing
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Sun, 29 Aug 2010 14:36:55 +0100 |
parents | 7e0d548de9e6 |
children | 43073c7c7769 |
comparison
equal
deleted
inserted
replaced
74:7e0d548de9e6 | 77:ad4792a1cfd6 |
---|---|
66 { | 66 { |
67 AttribDeclaration.addMember(sc, sd, true); | 67 AttribDeclaration.addMember(sc, sd, true); |
68 addisdone = 1; | 68 addisdone = 1; |
69 } | 69 } |
70 | 70 |
71 for (uint i = 0; i < d.dim; i++) | 71 foreach(Dsymbol s; d) |
72 { | |
73 Dsymbol s = cast(Dsymbol)d.data[i]; | |
74 | |
75 s.semantic(sc); | 72 s.semantic(sc); |
76 } | |
77 } | 73 } |
78 } | 74 } |
79 | 75 |
80 override string kind() | 76 override string kind() |
81 { | 77 { |