mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-03 21:43:14 +01:00
Fixed several asm-related error message formats.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user