comparison dmd/statement.c @ 310:d20cf0dec9c1 trunk

[svn r331] Fixed, forgot to default initialize the SynchronizedStatement enclosinghandler.
author lindquist
date Sat, 28 Jun 2008 11:50:28 +0200
parents d59c363fccad
children aaade6ded589
comparison
equal deleted inserted replaced
309:d59c363fccad 310:d20cf0dec9c1
2864 : Statement(loc) 2864 : Statement(loc)
2865 { 2865 {
2866 this->exp = exp; 2866 this->exp = exp;
2867 this->body = body; 2867 this->body = body;
2868 this->esync = NULL; 2868 this->esync = NULL;
2869 this->enclosinghandler = NULL;
2869 // LLVMDC 2870 // LLVMDC
2870 this->llsync = NULL; 2871 this->llsync = NULL;
2871 } 2872 }
2872 2873
2873 SynchronizedStatement::SynchronizedStatement(Loc loc, elem *esync, Statement *body) 2874 SynchronizedStatement::SynchronizedStatement(Loc loc, elem *esync, Statement *body)
2874 : Statement(loc) 2875 : Statement(loc)
2875 { 2876 {
2876 this->exp = NULL; 2877 this->exp = NULL;
2877 this->body = body; 2878 this->body = body;
2878 this->esync = esync; 2879 this->esync = esync;
2880 this->enclosinghandler = NULL;
2879 // LLVMDC 2881 // LLVMDC
2880 this->llsync = NULL; 2882 this->llsync = NULL;
2881 } 2883 }
2882 2884
2883 Statement *SynchronizedStatement::syntaxCopy() 2885 Statement *SynchronizedStatement::syntaxCopy()