Mercurial > projects > dil
diff trunk/src/Statements.d @ 164:8ec99326752b
- Implemented parseWhileStatement().
- Renamed parseScopeBlockStatement() to parseScopeStatement().
author | aziz |
---|---|
date | Fri, 13 Jul 2007 22:55:05 +0000 |
parents | c7b250662c74 |
children | 797074d143d7 |
line wrap: on
line diff
--- a/trunk/src/Statements.d Fri Jul 13 22:41:03 2007 +0000 +++ b/trunk/src/Statements.d Fri Jul 13 22:55:05 2007 +0000 @@ -74,7 +74,13 @@ class WhileStatement : Statement { - + Expression condition; + Statement whileBody; + this(Expression condition, Statement whileBody) + { + this.condition = condition; + this.whileBody = whileBody; + } } class DoStatement : Statement