Mercurial > projects > dil
changeset 658:a35e6debfb4c
FunctionBody inherits from Statement now.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Tue, 15 Jan 2008 16:49:26 +0100 |
parents | 3bd9660f71ac |
children | 304331ca2f95 |
files | trunk/src/dil/ast/NodesEnum.d trunk/src/dil/ast/Statements.d |
diffstat | 2 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/trunk/src/dil/ast/NodesEnum.d Tue Jan 15 16:41:12 2008 +0100 +++ b/trunk/src/dil/ast/NodesEnum.d Tue Jan 15 16:49:26 2008 +0100 @@ -55,6 +55,7 @@ "Statements", "IllegalStatement", "EmptyStatement", + "FunctionBody", "ScopeStatement", "LabeledStatement", "ExpressionStatement", @@ -201,7 +202,6 @@ "InvariantType", // D2.0 // Other: - "FunctionBody", "Parameter", "Parameters", "TemplateAliasParameter",
--- a/trunk/src/dil/ast/Statements.d Tue Jan 15 16:41:12 2008 +0100 +++ b/trunk/src/dil/ast/Statements.d Tue Jan 15 16:49:26 2008 +0100 @@ -41,13 +41,12 @@ } } -class FunctionBody : Node +class FunctionBody : Statement { Statement funcBody, inBody, outBody; Identifier* outIdent; this() { - super(NodeCategory.Other); mixin(set_kind); }