diff lexer/Keyword.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 08f68d684047
line wrap: on
line diff
--- a/lexer/Keyword.d	Mon Jul 21 22:14:06 2008 +0200
+++ b/lexer/Keyword.d	Tue Jul 22 00:33:58 2008 +0200
@@ -46,6 +46,7 @@
         "sizeof"    : Tok.Sizeof,
         "alias"     : Tok.Alias,
         "this"      : Tok.This,
+        "new"       : Tok.New,
 //        "super"     : Tok.Super,
 
         // control flow