Mercurial > projects > dil
diff trunk/src/dil/doc/Doc.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 | f8875ef9a66d |
line wrap: on
line diff
--- a/trunk/src/dil/doc/Doc.d Fri Jan 18 23:40:12 2008 +0100 +++ b/trunk/src/dil/doc/Doc.d Fri Jan 18 23:59:41 2008 +0100 @@ -34,13 +34,13 @@ token.kind == TOK.RBrace || token.kind == TOK.Semicolon || token.kind == TOK.HEAD || - (node.kind == NodeKind.EnumMember && token.kind == TOK.Comma)) + (node.kind == NodeKind.EnumMemberDeclaration && token.kind == TOK.Comma)) break; if (token.kind == TOK.Comment) { // Check that this comment doesn't belong to the previous declaration. - if (node.kind == NodeKind.EnumMember && token.kind == TOK.Comma) + if (node.kind == NodeKind.EnumMemberDeclaration && token.kind == TOK.Comma) break; switch (token.prev.kind) { @@ -56,7 +56,7 @@ token = node.end.next; if (token.kind == TOK.Comment && isDocComment(token)) comments ~= token; - else if (node.kind == NodeKind.EnumMember) + else if (node.kind == NodeKind.EnumMemberDeclaration) { token = node.end.nextNWS; if (token.kind == TOK.Comma)