Mercurial > projects > dang
diff lexer/Token.d @ 11:642c6a998fd9
Support for while statements and fixed scope for if
author | Anders Halager <halager@gmail.com> |
---|---|
date | Fri, 18 Apr 2008 13:45:39 +0200 |
parents | 2e1069ee21af |
children | 0fb2d13dce37 |
line wrap: on
line diff
--- a/lexer/Token.d Fri Apr 18 13:01:11 2008 +0200 +++ b/lexer/Token.d Fri Apr 18 13:45:39 2008 +0200 @@ -76,7 +76,8 @@ Bool, - If, + If, Else, + While, Return, } @@ -111,6 +112,7 @@ Tok.Div:"Div", Tok.Integer:"Integer", Tok.If:"If", + Tok.While:"While", Tok.Return:"Return", Tok.Seperator:"Seperator" ];