Fixed several asm-related error message formats.

This commit is contained in:
David Nadlinger
2012-08-31 01:58:54 +02:00
parent 7a162b6f6d
commit 6fea7358dc
4 changed files with 4 additions and 4 deletions

View File

@@ -5443,7 +5443,7 @@ int AsmStatement::comeFrom()
int AsmStatement::blockExit(bool mustNotThrow)
{
if (mustNotThrow)
error("asm statements are assumed to throw", toChars());
error("asm statements are assumed to throw");
// Assume the worst
return BEfallthru | BEthrow | BEreturn | BEgoto | BEhalt;
}