mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-15 00:21:50 +01:00
Updated to dmdfe 2.051
This commit is contained in:
@@ -182,9 +182,17 @@ Statement *AsmStatement::semantic(Scope *sc)
|
||||
return this;
|
||||
}
|
||||
|
||||
#if DMDV2
|
||||
int AsmStatement::blockExit(bool mustNotThrow)
|
||||
#else
|
||||
int AsmStatement::blockExit()
|
||||
#endif
|
||||
{
|
||||
//printf("AsmStatement::blockExit(%p)\n", this);
|
||||
#if DMDV2
|
||||
if (mustNotThrow)
|
||||
error("asm statements are assumed to throw", toChars());
|
||||
#endif
|
||||
return BEfallthru | BEreturn | BEgoto | BEhalt;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user