mirror of https://github.com/buggins/dlangui.git
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:
commit
48a032f4d9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue