Mercurial > projects > ldc
diff dmd/expression.c @ 136:0e28624814e8 trunk
[svn r140] did a lot of the work towards being able to pass multiple modules on the command line. not complete yet though
author | lindquist |
---|---|
date | Thu, 17 Jan 2008 03:15:12 +0100 |
parents | 5825d48b27d1 |
children | 0ab29b838084 |
line wrap: on
line diff
--- a/dmd/expression.c Mon Jan 14 23:09:55 2008 +0100 +++ b/dmd/expression.c Thu Jan 17 03:15:12 2008 +0100 @@ -3456,7 +3456,7 @@ if (v) { v->checkNestedReference(sc, loc); - v->llvmNeedsStorage = true; + v->needsStorage = true; } return this; } @@ -3601,7 +3601,7 @@ if (v && v->canassign == 0 && (var->isConst() || (global.params.Dversion > 1 && var->isFinal()))) error("cannot modify final variable '%s'", var->toChars()); - v->llvmNeedsStorage = true; + v->needsStorage = true; if (var->isCtorinit()) { // It's only modifiable if inside the right constructor @@ -5887,7 +5887,7 @@ } else if (v) { - v->llvmNeedsStorage = true; + v->needsStorage = true; } } else if (e1->op == TOKarray)