Mercurial > projects > ldc
comparison gen/toobj.cpp @ 732:6aeaef263289
Fixed tuple fields, thanx downs
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Mon, 27 Oct 2008 01:11:41 +0100 |
parents | bd56056a581f |
children | cc8ba72c0350 |
comparison
equal
deleted
inserted
replaced
731:d63741d00ee3 | 732:6aeaef263289 |
---|---|
909 return ~0; | 909 return ~0; |
910 } | 910 } |
911 | 911 |
912 /* ================================================================== */ | 912 /* ================================================================== */ |
913 | 913 |
914 void TupleDeclaration::toObjFile(int multiobj) | |
915 { | |
916 Logger::println("TupleDeclaration::toObjFile(): %s", toChars()); | |
917 | |
918 assert(isexp); | |
919 assert(objects); | |
920 | |
921 int n = objects->dim; | |
922 | |
923 for (int i=0; i < n; ++i) | |
924 { | |
925 DsymbolExp* exp = (DsymbolExp*)objects->data[i]; | |
926 exp->s->toObjFile(multiobj); | |
927 } | |
928 } | |
929 | |
930 /* ================================================================== */ | |
931 | |
914 void VarDeclaration::toObjFile(int multiobj) | 932 void VarDeclaration::toObjFile(int multiobj) |
915 { | 933 { |
916 Logger::print("VarDeclaration::toObjFile(): %s | %s\n", toChars(), type->toChars()); | 934 Logger::print("VarDeclaration::toObjFile(): %s | %s\n", toChars(), type->toChars()); |
917 LOG_SCOPE; | 935 LOG_SCOPE; |
918 | 936 |