Mercurial > projects > dil
comparison trunk/src/cmd/Statistics.d @ 764:4579e8505d5e
Fixed unittests and removed dil.File.
Fixed Converter.UTF16toUTF8().
Fixed an encode() function in dil.Unicode.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sat, 16 Feb 2008 03:28:39 +0100 |
parents | 90668b83ae5e |
children | 3b34f6a95a27 |
comparison
equal
deleted
inserted
replaced
763:f26f13b5a3a3 | 764:4579e8505d5e |
---|---|
2 Author: Aziz Köksal | 2 Author: Aziz Köksal |
3 License: GPL3 | 3 License: GPL3 |
4 +/ | 4 +/ |
5 module cmd.Statistics; | 5 module cmd.Statistics; |
6 | 6 |
7 import dil.File; | 7 import cmd.ASTStats; |
8 import dil.lexer.Lexer; | 8 import dil.lexer.Lexer; |
9 import dil.lexer.Token; | 9 import dil.lexer.Token; |
10 import dil.parser.Parser; | 10 import dil.parser.Parser; |
11 import dil.ast.NodesEnum; | 11 import dil.ast.NodesEnum; |
12 import dil.SourceText; | 12 import dil.SourceText; |
13 import cmd.ASTStats; | |
14 import common; | 13 import common; |
15 | 14 |
16 struct Statistics | 15 struct Statistics |
17 { | 16 { |
18 uint whitespaceCount; /// Counter for whitespace characters. | 17 uint whitespaceCount; /// Counter for whitespace characters. |