Mercurial > projects > dil
diff trunk/src/dil/TokensEnum.d @ 552:3bc7801c207e
Refactored the way how tokens are flagged as whitespace.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Thu, 20 Dec 2007 23:26:43 +0100 |
parents | d7050f2a4814 |
children |
line wrap: on
line diff
--- a/trunk/src/dil/TokensEnum.d Thu Dec 20 20:00:48 2007 +0100 +++ b/trunk/src/dil/TokensEnum.d Thu Dec 20 23:26:43 2007 +0100 @@ -9,17 +9,15 @@ { Invalid, - /// Flag for whitespace tokens that must be ignored in the parsing phase. - Whitespace = 0x8000, - Illegal = 1 | Whitespace, - Comment = 2 | Whitespace, - Shebang = 3 | Whitespace, - HashLine = 4 | Whitespace, - Filespec = 5 | Whitespace, - Newline = 6 | Whitespace, - Empty = 7, + Illegal, + Comment, + Shebang, + HashLine, + Filespec, + Newline, + Empty, - Identifier = 8, + Identifier, String, CharLiteral,