diff lexer/Keyword.d @ 37:858b9805843d new_gen

Bug-fixes Void can now be used and is recognized as a keyword by lexer Fixed a problem with casting on pointer types The expression is now optional for a ReturnStmt (only legal in void funcs)
author Anders Halager <halager@gmail.com>
date Sun, 20 Apr 2008 23:53:05 +0200
parents ce17bea8e9bd
children 4e879f82dd64
line wrap: on
line diff
--- a/lexer/Keyword.d	Sun Apr 20 22:39:07 2008 +0200
+++ b/lexer/Keyword.d	Sun Apr 20 23:53:05 2008 +0200
@@ -23,6 +23,8 @@
         "float"     : Tok.Float,
         "double"    : Tok.Double,
 
+        "void"      : Tok.Void,
+
         // type related
         "struct"    : Tok.Struct,