comparison 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
comparison
equal deleted inserted replaced
144:a27941d00351 145:8f704cb9969b
42 // sd gets the addMember() 42 // sd gets the addMember()
43 FuncDeclaration *func; // function we are in 43 FuncDeclaration *func; // function we are in
44 Dsymbol *parent; // parent to use 44 Dsymbol *parent; // parent to use
45 LabelStatement *slabel; // enclosing labelled statement 45 LabelStatement *slabel; // enclosing labelled statement
46 SwitchStatement *sw; // enclosing switch statement 46 SwitchStatement *sw; // enclosing switch statement
47 TryFinallyStatement *tf; // enclosing try finally statement 47 TryFinallyStatement *tf; // enclosing try finally statement; set inside its finally block
48 TryFinallyStatement *tfOfTry; // enclosing try finally statement; set inside its try block
48 Statement *sbreak; // enclosing statement that supports "break" 49 Statement *sbreak; // enclosing statement that supports "break"
49 Statement *scontinue; // enclosing statement that supports "continue" 50 Statement *scontinue; // enclosing statement that supports "continue"
50 ForeachStatement *fes; // if nested function for ForeachStatement, this is it 51 ForeachStatement *fes; // if nested function for ForeachStatement, this is it
51 unsigned offset; // next offset to use in aggregate 52 unsigned offset; // next offset to use in aggregate
52 int inunion; // we're processing members of a union 53 int inunion; // we're processing members of a union