Mercurial > projects > ddmd
comparison dmd/Expression.d @ 126:1765f3ef917d
ClassDeclarations, Arguments -> Vector
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Fri, 03 Sep 2010 23:25:55 +0100 |
parents | e28b18c23469 |
children | 60bb0fe4563e |
comparison
equal
deleted
inserted
replaced
125:767a01c2a272 | 126:1765f3ef917d |
---|---|
988 } | 988 } |
989 | 989 |
990 Expression buildArrayLoop(Arguments fparams) | 990 Expression buildArrayLoop(Arguments fparams) |
991 { | 991 { |
992 Identifier id = Identifier.generateId("c", fparams.dim); | 992 Identifier id = Identifier.generateId("c", fparams.dim); |
993 Argument param = new Argument(STC.STCundefined, type, id, null); | 993 auto param = new Argument(STC.STCundefined, type, id, null); |
994 fparams.shift(cast(void*)param); | 994 fparams.shift(param); |
995 Expression e = new IdentifierExp(Loc(0), id); | 995 Expression e = new IdentifierExp(Loc(0), id); |
996 return e; | 996 return e; |
997 } | 997 } |
998 | 998 |
999 /*********************************************** | 999 /*********************************************** |