Mercurial > projects > ldc
comparison dmd/statement.h @ 356:44daf304421c trunk
[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.
author | ChristianK |
---|---|
date | Mon, 14 Jul 2008 12:00:24 +0200 |
parents | a7a26f538d6e |
children | 6aee82889553 |
comparison
equal
deleted
inserted
replaced
355:d8357f7004ca | 356:44daf304421c |
---|---|
908 }; | 908 }; |
909 | 909 |
910 struct AsmBlockStatement : CompoundStatement | 910 struct AsmBlockStatement : CompoundStatement |
911 { | 911 { |
912 EnclosingHandler* enclosinghandler; | 912 EnclosingHandler* enclosinghandler; |
913 TryFinallyStatement* tf; | |
913 | 914 |
914 AsmBlockStatement(Loc loc, Statements *s); | 915 AsmBlockStatement(Loc loc, Statements *s); |
915 Statements *flatten(Scope *sc); | 916 Statements *flatten(Scope *sc); |
916 Statement *syntaxCopy(); | 917 Statement *syntaxCopy(); |
917 Statement *semantic(Scope *sc); | 918 Statement *semantic(Scope *sc); |