Mercurial > projects > dil
diff trunk/src/cmd/Generate.d @ 680:6b3e397229c5
Renamed Statements, Declarations and EnumMember.
Statements -> CompoundStatement.
Declarations -> CompoundDeclaration.
EnumMember -> EnumMemberDeclaration.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Fri, 18 Jan 2008 23:59:41 +0100 |
parents | ff6971637f88 |
children | 95a3c28c0f64 |
line wrap: on
line diff
--- a/trunk/src/cmd/Generate.d Fri Jan 18 23:40:12 2008 +0100 +++ b/trunk/src/cmd/Generate.d Fri Jan 18 23:59:41 2008 +0100 @@ -97,16 +97,12 @@ { alias NodeCategory NC; case NC.Declaration: - if (node.kind == NodeKind.Declarations || - node.kind == NodeKind.EnumMember) - break; suffixLength = "Declaration".length; break; case NC.Statement: switch (node.kind) { - case NodeKind.Statements, - NodeKind.CatchBody, + case NodeKind.CatchBody, NodeKind.FinallyBody, NodeKind.FunctionBody, NodeKind.AsmInstruction,