Mercurial > projects > ldc
comparison dmd/scope.c @ 1141:f99a3b393c03
Reorganize EnclosingHandlers to require less changes to the frontend and allow us to
implement the synchronized storage class for functions.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 24 Mar 2009 21:18:18 +0100 |
parents | b30fe7e1dbb9 |
children | def7a1d494fd |
comparison
equal
deleted
inserted
replaced
1137:45d73f0a9b43 | 1141:f99a3b393c03 |
---|---|
50 this->scopesym = NULL; | 50 this->scopesym = NULL; |
51 this->sd = NULL; | 51 this->sd = NULL; |
52 this->enclosing = NULL; | 52 this->enclosing = NULL; |
53 this->parent = NULL; | 53 this->parent = NULL; |
54 this->sw = NULL; | 54 this->sw = NULL; |
55 this->tf = NULL; | 55 this->enclosingFinally = NULL; |
56 this->tfOfTry = NULL; | 56 this->enclosingScopeExit = NULL; |
57 this->tinst = NULL; | 57 this->tinst = NULL; |
58 this->sbreak = NULL; | 58 this->sbreak = NULL; |
59 this->scontinue = NULL; | 59 this->scontinue = NULL; |
60 this->fes = NULL; | 60 this->fes = NULL; |
61 this->structalign = global.structalign; | 61 this->structalign = global.structalign; |
89 this->func = enclosing->func; | 89 this->func = enclosing->func; |
90 this->parent = enclosing->parent; | 90 this->parent = enclosing->parent; |
91 this->scopesym = NULL; | 91 this->scopesym = NULL; |
92 this->sd = NULL; | 92 this->sd = NULL; |
93 this->sw = enclosing->sw; | 93 this->sw = enclosing->sw; |
94 this->tf = enclosing->tf; | 94 this->enclosingFinally = enclosing->enclosingFinally; |
95 this->tfOfTry = enclosing->tfOfTry; | 95 this->enclosingScopeExit = enclosing->enclosingScopeExit; |
96 this->tinst = enclosing->tinst; | 96 this->tinst = enclosing->tinst; |
97 this->sbreak = enclosing->sbreak; | 97 this->sbreak = enclosing->sbreak; |
98 this->scontinue = enclosing->scontinue; | 98 this->scontinue = enclosing->scontinue; |
99 this->fes = enclosing->fes; | 99 this->fes = enclosing->fes; |
100 this->structalign = enclosing->structalign; | 100 this->structalign = enclosing->structalign; |