Mercurial > projects > ldc
diff dmd/scope.h @ 145:8f704cb9969b trunk
[svn r150] fixes #16 and #17, implements GotoCaseStatement
author | ChristianK |
---|---|
date | Sat, 08 Mar 2008 15:22:07 +0100 |
parents | c53b6e3fe49a |
children | 5acec6b2eef8 |
line wrap: on
line diff
--- a/dmd/scope.h Sat Jan 26 17:13:22 2008 +0100 +++ b/dmd/scope.h Sat Mar 08 15:22:07 2008 +0100 @@ -44,7 +44,8 @@ Dsymbol *parent; // parent to use LabelStatement *slabel; // enclosing labelled statement SwitchStatement *sw; // enclosing switch statement - TryFinallyStatement *tf; // enclosing try finally statement + TryFinallyStatement *tf; // enclosing try finally statement; set inside its finally block + TryFinallyStatement *tfOfTry; // enclosing try finally statement; set inside its try block Statement *sbreak; // enclosing statement that supports "break" Statement *scontinue; // enclosing statement that supports "continue" ForeachStatement *fes; // if nested function for ForeachStatement, this is it