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

@@ -187,7 +187,7 @@ int AsmStatement::blockExit(bool mustNotThrow)
//printf("AsmStatement::blockExit(%p)\n", this);
#if DMDV2
if (mustNotThrow)
error("asm statements are assumed to throw", toChars());
error("asm statements are assumed to throw");
#endif
// Assume the worst
return BEfallthru | BEthrow | BEreturn | BEgoto | BEhalt;