diff lexer/Token.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/Token.d	Mon Jul 21 21:32:20 2008 +0200
+++ b/lexer/Token.d	Mon Jul 21 21:45:54 2008 +0200
@@ -195,7 +195,7 @@
 
     Void,
 
-    Struct, Function, Delegate, Class,
+    Struct, Function, Delegate, Class, This,
     Interface, Union, Typedef, Typeid,
     Typeof, Sizeof, Alias,
 
@@ -290,6 +290,8 @@
         Tok.Comma:"Comma",
         Tok.Return:"Return",
         Tok.Struct:"Struct",
+        Tok.Class:"Class",
+        Tok.This:"This",
         Tok.Colon:"Colon",
         Tok.Seperator:"Seperator",
         Tok.Cast:"Cast",