Merge SiegeLord's dmdfe 1.064 patch.

This commit is contained in:
Robert Clipsham
2011-01-01 21:23:08 +00:00
parent 5e98bf3c49
commit 65c892ee62
18 changed files with 356 additions and 69 deletions
+2 -2
View File
@@ -1021,7 +1021,7 @@ void FuncDeclaration::semantic3(Scope *sc)
loc = fensure->loc;
v = new VarDeclaration(loc, type->nextOf(), outId, NULL);
v->noauto = 1;
v->noscope = 1;
#if DMDV2
if (!isVirtual())
v->storage_class |= STCconst;
@@ -1460,7 +1460,7 @@ void FuncDeclaration::semantic3(Scope *sc)
if (v->type->toBasetype()->ty == Tsarray)
continue;
Expression *e = v->callAutoDtor(sc);
Expression *e = v->callScopeDtor(sc);
if (e)
{ Statement *s = new ExpStatement(0, e);
s = s->semantic(sc);