Mercurial > projects > dil
diff trunk/src/main.d @ 323:6259fb93e3dd
- Rewrote scanSpecialToken().
- Added Filespec to enum TOK.
- Added another nested struct to union in Token.
- Deleted ExpectedNormalStringLiteral from enum MID and added ExpectedFilespec and UnterminatedFilespec. Adapted lang_de.d and lang_en.d accordingly.
- Fixed some code in scanNumber(). Added some assert statements.
author | aziz |
---|---|
date | Tue, 21 Aug 2007 15:26:00 +0000 |
parents | ed4ef0173793 |
children | a48a987f7515 |
line wrap: on
line diff
--- a/trunk/src/main.d Mon Aug 20 19:59:04 2007 +0000 +++ b/trunk/src/main.d Tue Aug 21 15:26:00 2007 +0000 @@ -507,6 +507,9 @@ case TOK.Shebang: writef(tags[DP.Shebang], srcText); break; + case TOK.HashLine: + writef("<hl>%s</hl>", srcText); + break; default: if (token.isKeyword()) writef(tags[DP.Keyword], srcText);