Mercurial > projects > ldc
comparison dmd/opover.c @ 1103:b30fe7e1dbb9
- Updated to DMD frontend 1.041.
- Removed dmd/inifile.c , it's not under a free license, replaced with libconfig based config file.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Thu, 12 Mar 2009 20:37:27 +0100 |
parents | 330f999ade44 |
children | eeb8b95ea92e |
comparison
equal
deleted
inserted
replaced
1102:ae950bd712d3 | 1103:b30fe7e1dbb9 |
---|---|
16 | 16 |
17 #ifdef __APPLE__ | 17 #ifdef __APPLE__ |
18 #define integer_t dmd_integer_t | 18 #define integer_t dmd_integer_t |
19 #endif | 19 #endif |
20 | 20 |
21 #if IN_GCC || IN_LLVM | 21 #include "rmem.h" |
22 #include "mem.h" | |
23 #elif POSIX | |
24 #include "../root/mem.h" | |
25 #elif _WIN32 | |
26 #include "..\root\mem.h" | |
27 #endif | |
28 | 22 |
29 //#include "port.h" | 23 //#include "port.h" |
30 #include "mtype.h" | 24 #include "mtype.h" |
31 #include "init.h" | 25 #include "init.h" |
32 #include "expression.h" | 26 #include "expression.h" |
274 else | 268 else |
275 { td = s->isTemplateDeclaration(); | 269 { td = s->isTemplateDeclaration(); |
276 templateResolve(&m, td, sc, loc, NULL, &args2); | 270 templateResolve(&m, td, sc, loc, NULL, &args2); |
277 } | 271 } |
278 } | 272 } |
279 | 273 |
280 lastf = m.lastf; | 274 lastf = m.lastf; |
281 | 275 |
282 if (s_r) | 276 if (s_r) |
283 { | 277 { |
284 fd = s_r->isFuncDeclaration(); | 278 fd = s_r->isFuncDeclaration(); |
574 (op == TOKforeach_reverse) ? Id::applyReverse | 568 (op == TOKforeach_reverse) ? Id::applyReverse |
575 : Id::apply); | 569 : Id::apply); |
576 if (s) | 570 if (s) |
577 { | 571 { |
578 fd = s->isFuncDeclaration(); | 572 fd = s->isFuncDeclaration(); |
579 if (fd) | 573 if (fd) |
580 inferApplyArgTypesX(fd, arguments); | 574 inferApplyArgTypesX(fd, arguments); |
581 } | 575 } |
582 break; | 576 break; |
583 } | 577 } |
584 | 578 |