src/scanner.d: int => uint
This commit is contained in:
parent
2d0ce2dca2
commit
658f8f96c1
1 changed files with 3 additions and 3 deletions
|
|
@ -11,9 +11,9 @@ private bool isAlphaNum_(dchar c) => c.isAlphaNum || c == '_';
|
|||
class Scanner {
|
||||
private string source;
|
||||
private Token[] tokens;
|
||||
private int start = 0;
|
||||
private int current = 0;
|
||||
private int line = 1;
|
||||
private uint start = 0;
|
||||
private uint current = 0;
|
||||
private uint line = 1;
|
||||
|
||||
this(string source){
|
||||
this.source = source;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue