Mercurial > projects > ldc
comparison dmd/interpret.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 | 29c0d1194033 |
children | 1565b33a6ecb |
comparison
equal
deleted
inserted
replaced
1102:ae950bd712d3 | 1103:b30fe7e1dbb9 |
---|---|
10 | 10 |
11 #include <stdio.h> | 11 #include <stdio.h> |
12 #include <stdlib.h> | 12 #include <stdlib.h> |
13 #include <assert.h> | 13 #include <assert.h> |
14 | 14 |
15 #include "mem.h" | 15 #include "rmem.h" |
16 | 16 |
17 #include "statement.h" | 17 #include "statement.h" |
18 #include "expression.h" | 18 #include "expression.h" |
19 #include "cond.h" | 19 #include "cond.h" |
20 #include "init.h" | 20 #include "init.h" |
78 } | 78 } |
79 | 79 |
80 if (semanticRun == 0 && scope) | 80 if (semanticRun == 0 && scope) |
81 { | 81 { |
82 semantic3(scope); | 82 semantic3(scope); |
83 if (global.errors) // if errors compiling this function | 83 if (global.errors) // if errors compiling this function |
84 return NULL; | 84 return NULL; |
85 } | 85 } |
86 if (semanticRun < 2) | 86 if (semanticRun < 2) |
87 return NULL; | 87 return NULL; |
88 | 88 |
89 Type *tb = type->toBasetype(); | 89 Type *tb = type->toBasetype(); |