comparison dmd/interpret.c @ 658:50383e476c7e

Upgraded frontend to DMD 1.035
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Mon, 06 Oct 2008 16:22:11 +0200
parents 870652a9af23
children 330f999ade44
comparison
equal deleted inserted replaced
657:c42173b3557b 658:50383e476c7e
75 if (needThis() || isNested() || !fbody) 75 if (needThis() || isNested() || !fbody)
76 { cantInterpret = 1; 76 { cantInterpret = 1;
77 return NULL; 77 return NULL;
78 } 78 }
79 79
80 //printf("test2 %d, %p\n", semanticRun, scope);
81 if (semanticRun == 0 && scope) 80 if (semanticRun == 0 && scope)
82 { 81 {
83 semantic3(scope); 82 semantic3(scope);
83 if (global.errors) // if errors compiling this function
84 return NULL;
84 } 85 }
85 if (semanticRun < 2) 86 if (semanticRun < 2)
86 return NULL; 87 return NULL;
87 88
88 Type *tb = type->toBasetype(); 89 Type *tb = type->toBasetype();