First import of dmd-2.065-b1 (7088593).

The CPP mangling is not integrated yet.
This commit is contained in:
Kai Nacke
2013-12-06 16:59:41 +01:00
parent 2fa997e6ad
commit 1de68a45b8
78 changed files with 3480 additions and 4561 deletions

View File

@@ -77,7 +77,7 @@ void StaticAssert::semantic2(Scope *sc)
{
errorSupplemental(loc, "while evaluating: static assert(%s)", exp->toChars());
}
else if (e->isBool(FALSE))
else if (e->isBool(false))
{
if (msg)
{
@@ -105,7 +105,7 @@ void StaticAssert::semantic2(Scope *sc)
if (!global.gag)
fatal();
}
else if (!e->isBool(TRUE))
else if (!e->isBool(true))
{
error("(%s) is not evaluatable at compile time", exp->toChars());
}