[svn r96] Updated to DMD 1.023.

Regular bugfixes.
This commit is contained in:
Tomas Lindquist Olsen
2007-11-08 19:13:28 +01:00
parent ea18cd8e75
commit 454f50ccbc
24 changed files with 496 additions and 167 deletions

View File

@@ -284,7 +284,7 @@ Expression *CallExp::optimize(int result)
if (fd)
{
Expression *eresult = fd->interpret(NULL, arguments);
if (eresult)
if (eresult && eresult != EXP_VOID_INTERPRET)
e = eresult;
else if (result & WANTinterpret)
error("cannot evaluate %s at compile time", toChars());