Merge pull request #83 from alphaKAI/fix-implicit-convert-at-core-parser

fix implicit convert at src/dlangui/core/parser.d
This commit is contained in:
Vadim Lopatin 2015-04-03 12:15:49 +03:00
commit 48a032f4d9
1 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ class Tokenizer {
_filename = filename;
_lines = LineStream.create(source, filename);
_lineText = _lines.readLine();
_len = _lineText.length;
_len = cast(int)_lineText.length;
_line = 0;
_pos = 0;
_prevChar = 0;
@ -193,7 +193,7 @@ class Tokenizer {
_prevChar = EOF_CHAR;
else {
_lineText = _lines.readLine();
_len = _lineText.length;
_len = cast(int)_lineText.length;
_line++;
_pos = 0;
_prevChar = EOL_CHAR;