Mercurial > projects > dil
diff trunk/src/dil/ast/NodesEnum.d @ 640:05645f5613c1
Added an error message.
Improved parseTryStatement().
Fixed getShortClassName().
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Mon, 14 Jan 2008 02:36:14 +0100 |
parents | b2fc028d8b55 |
children | 68953760d569 |
line wrap: on
line diff
--- a/trunk/src/dil/ast/NodesEnum.d Mon Jan 14 01:45:44 2008 +0100 +++ b/trunk/src/dil/ast/NodesEnum.d Mon Jan 14 02:36:14 2008 +0100 @@ -4,7 +4,7 @@ +/ module dil.ast.NodesEnum; -enum NodeCategory +enum NodeCategory : ushort { Declaration, Statement, @@ -60,7 +60,6 @@ "ExpressionStatement", "DeclarationStatement", "IfStatement", -// "ConditionalStatement", "WhileStatement", "DoWhileStatement", "ForStatement", @@ -225,7 +224,7 @@ // enum NodeKind; mixin( - "enum NodeKind" + "enum NodeKind : ushort" "{" ~ generateNodeKindMembers ~ "}"