diff lexer/Token.d @ 172:01c2c49775ef

- Changed Parser to be more clean on type parsing. - Parsing int function(int), and the like, types.(Function pointers) - Fixed a design fault that made Symbol be wrong. Now Symbols are created with a factory with the help of types.
author Anders Johnsen <skabet@gmail.com>
date Thu, 24 Jul 2008 20:31:24 +0200
parents 57b0b4464a0b
children dc9bf56b7ace
line wrap: on
line diff
--- a/lexer/Token.d	Thu Jul 24 12:27:34 2008 +0200
+++ b/lexer/Token.d	Thu Jul 24 20:31:24 2008 +0200
@@ -255,6 +255,7 @@
         Tok.Dchar:"Dchar",
         Tok.Bool:"Bool",
         Tok.Void:"Void",
+        Tok.Function:"Function",
         Tok.Eq:"Eq",
         Tok.Ne:"Ne",
         Tok.Lt:"Lt",