Mercurial > projects > dang
diff lexer/Token.d @ 68:381975d76baf new_gen
A LOT of bug fixing - also implemented implicit casts. If you do a --ast-dump-code on a target with some algebra of differant types, you should now see the type casts being made. Also, Tests are again back with only switches failing...
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Thu, 01 May 2008 19:25:49 +0200 |
parents | 78a6808b2e0f |
children | 628cb46ab13b |
line wrap: on
line diff
--- a/lexer/Token.d Tue Apr 29 20:15:22 2008 +0200 +++ b/lexer/Token.d Thu May 01 19:25:49 2008 +0200 @@ -137,7 +137,7 @@ If, Else, While, Switch, Case, Default, - Return, + Return, Cast, } @@ -187,6 +187,7 @@ Tok.Return:"Return", Tok.Struct:"Struct", Tok.Colon:"Colon", - Tok.Seperator:"Seperator" + Tok.Seperator:"Seperator", + Tok.Cast:"Cast" ]; }