Mercurial > projects > ldc
diff dmd/scope.c @ 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.c Sat Jan 26 17:13:22 2008 +0100 +++ b/dmd/scope.c Sat Mar 08 15:22:07 2008 +0100 @@ -53,6 +53,7 @@ this->parent = NULL; this->sw = NULL; this->tf = NULL; + this->tfOfTry = NULL; this->sbreak = NULL; this->scontinue = NULL; this->fes = NULL; @@ -89,6 +90,7 @@ this->sd = NULL; this->sw = enclosing->sw; this->tf = enclosing->tf; + this->tfOfTry = enclosing->tfOfTry; this->sbreak = enclosing->sbreak; this->scontinue = enclosing->scontinue; this->fes = enclosing->fes;