Mercurial > projects > ldc
comparison gen/toobj.cpp @ 733:cc8ba72c0350
Nested access to with statement should work now. fixes #105
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Mon, 27 Oct 2008 01:40:47 +0100 |
parents | 6aeaef263289 |
children | eee9efe5b51f |
comparison
equal
deleted
inserted
replaced
732:6aeaef263289 | 733:cc8ba72c0350 |
---|---|
921 int n = objects->dim; | 921 int n = objects->dim; |
922 | 922 |
923 for (int i=0; i < n; ++i) | 923 for (int i=0; i < n; ++i) |
924 { | 924 { |
925 DsymbolExp* exp = (DsymbolExp*)objects->data[i]; | 925 DsymbolExp* exp = (DsymbolExp*)objects->data[i]; |
926 assert(exp->op == TOKdsymbol); | |
926 exp->s->toObjFile(multiobj); | 927 exp->s->toObjFile(multiobj); |
927 } | 928 } |
928 } | 929 } |
929 | 930 |
930 /* ================================================================== */ | 931 /* ================================================================== */ |