mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-05-04 17:31:29 +02:00
[svn r377] The previous check was too strict, it completely disallowed gotos within finally blocks. This reenables them as long as they don't cross a finally boundary.
This commit is contained in:
@@ -910,6 +910,7 @@ struct AsmStatement : Statement
|
||||
struct AsmBlockStatement : CompoundStatement
|
||||
{
|
||||
EnclosingHandler* enclosinghandler;
|
||||
TryFinallyStatement* tf;
|
||||
|
||||
AsmBlockStatement(Loc loc, Statements *s);
|
||||
Statements *flatten(Scope *sc);
|
||||
|
||||
Reference in New Issue
Block a user