Mercurial > projects > ldc
comparison dmd/statement.c @ 37:77cdca8c210f trunk
[svn r41] new'd dynamic arrays are now initialized with the element type's default initializer.
initial label/goto support.
author | lindquist |
---|---|
date | Wed, 10 Oct 2007 03:38:24 +0200 |
parents | 4648206ca213 |
children | fd32135dca3e |
comparison
equal
deleted
inserted
replaced
36:c0967c4b2a74 | 37:77cdca8c210f |
---|---|
3463 this->ident = ident; | 3463 this->ident = ident; |
3464 this->statement = statement; | 3464 this->statement = statement; |
3465 this->tf = NULL; | 3465 this->tf = NULL; |
3466 this->lblock = NULL; | 3466 this->lblock = NULL; |
3467 this->isReturnLabel = 0; | 3467 this->isReturnLabel = 0; |
3468 this->llvmBB = NULL; | |
3468 } | 3469 } |
3469 | 3470 |
3470 Statement *LabelStatement::syntaxCopy() | 3471 Statement *LabelStatement::syntaxCopy() |
3471 { | 3472 { |
3472 LabelStatement *s = new LabelStatement(loc, ident, statement->syntaxCopy()); | 3473 LabelStatement *s = new LabelStatement(loc, ident, statement->syntaxCopy()); |