comparison dmd2/mars.c @ 850:5f5e6eb790e7

Automated merge with http://hg.dsource.org/projects/ldc
author Christian Kamm <kamm incasoftware de>
date Sun, 14 Dec 2008 16:30:20 +0100
parents d54f7cf84e6b ba390e5e9150
children 82ad6c0c601c
comparison
equal deleted inserted replaced
848:d54f7cf84e6b 850:5f5e6eb790e7
242 "" 242 ""
243 #endif 243 #endif
244 ); 244 );
245 } 245 }
246 246
247 int main(int argc, char *argv[], char** envp) 247 int main(int argc, char *argv[])
248 { 248 {
249 int i; 249 int i;
250 Array files; 250 Array files;
251 char *p, *ext; 251 char *p, *ext;
252 Module *m; 252 Module *m;
1232 m = (Module *)modules.data[i]; 1232 m = (Module *)modules.data[i];
1233 if (global.params.verbose) 1233 if (global.params.verbose)
1234 printf("code %s\n", m->toChars()); 1234 printf("code %s\n", m->toChars());
1235 if (global.params.obj) 1235 if (global.params.obj)
1236 { 1236 {
1237 m->genobjfile(0, envp); 1237 m->genobjfile(0);
1238 global.params.objfiles->push(m->objfile->name->str); 1238 global.params.objfiles->push(m->objfile->name->str);
1239 } 1239 }
1240 if (global.errors) 1240 if (global.errors)
1241 m->deleteObjFile(); 1241 m->deleteObjFile();
1242 else 1242 else