diff lexer/Keyword.d @ 154:0ea5d2f3e96b

Parsing "this" as constructor. Also removed regex from the test run program(seg fault - dmd???)
author Anders Johnsen <skabet@gmail.com>
date Mon, 21 Jul 2008 21:45:54 +0200
parents 6ec686d9c87d
children 57b0b4464a0b
line wrap: on
line diff
--- a/lexer/Keyword.d	Mon Jul 21 21:32:20 2008 +0200
+++ b/lexer/Keyword.d	Mon Jul 21 21:45:54 2008 +0200
@@ -45,6 +45,8 @@
         "typeof"    : Tok.Typeof,
         "sizeof"    : Tok.Sizeof,
         "alias"     : Tok.Alias,
+        "this"      : Tok.This,
+//        "super"     : Tok.Super,
 
         // control flow
         "if"        : Tok.If,