comparison dmd/init.c @ 131:5825d48b27d1 trunk

[svn r135] * Merged DMD 1.025 * * Fixed a minor linking order mishap * * Added an command line option -annotate * * Fixed some problems with running optimizations * * Added std.stdio and dependencies to lphobos (still not 100% working, but compiles and links) * * Fixed problems with passing aggregate types to variadic functions * * Added initial code towards full GC support, currently based on malloc and friends, not all the runtime calls the GC yet for memory * * Fixed problems with resolving nested function context pointers for some heavily nested cases * * Redid function argument passing + other minor code cleanups, still lots to do on this end... *
author lindquist
date Fri, 04 Jan 2008 01:38:42 +0100
parents 788401029ecf
children 2b72433d5c8c
comparison
equal deleted inserted replaced
130:a7dfa0ed966c 131:5825d48b27d1
177 { 177 {
178 //s = ad->symtab->lookup(id); 178 //s = ad->symtab->lookup(id);
179 s = ad->search(loc, id, 0); 179 s = ad->search(loc, id, 0);
180 if (!s) 180 if (!s)
181 { 181 {
182 error("'%s' is not a member of '%s'", id->toChars(), t->toChars()); 182 error(loc, "'%s' is not a member of '%s'", id->toChars(), t->toChars());
183 continue; 183 continue;
184 } 184 }
185 185
186 // Find out which field index it is 186 // Find out which field index it is
187 for (fieldi = 0; 1; fieldi++) 187 for (fieldi = 0; 1; fieldi++)