Mercurial > projects > dang
diff lexer/Token.d @ 158:57b0b4464a0b
Parsing "new", putting it in AST and performs some tests on it. Eg. if the contructor exists and the params matches.
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Tue, 22 Jul 2008 00:33:58 +0200 |
parents | 0ea5d2f3e96b |
children | 01c2c49775ef |
line wrap: on
line diff
--- a/lexer/Token.d Mon Jul 21 22:14:06 2008 +0200 +++ b/lexer/Token.d Tue Jul 22 00:33:58 2008 +0200 @@ -207,6 +207,8 @@ Module, Import, + New, + /* Attributes */ Public, Private, Package, Export, Protected, Static, @@ -311,6 +313,7 @@ Tok.Override:"Override", Tok.Deprecated:"Deprecated", Tok.Auto:"Auto", - Tok.Extern:"Extern" + Tok.Extern:"Extern", + Tok.New:"New" ]; }