scanner: remove debug print
This commit is contained in:
parent
e1d0e3ec0b
commit
2736bee8d8
1 changed files with 1 additions and 4 deletions
|
@ -231,10 +231,7 @@ pub const Scanner = struct {
|
|||
self.skipWhitespace();
|
||||
self.start = self.current;
|
||||
|
||||
if (self.isAtEnd()) {
|
||||
std.debug.warn("got at end\n");
|
||||
return self.makeToken(TokenType.EOF);
|
||||
}
|
||||
if (self.isAtEnd()) return self.makeToken(TokenType.EOF);
|
||||
|
||||
var c = self.advance();
|
||||
if (isAlpha(c)) return self.doIdentifier();
|
||||
|
|
Loading…
Reference in a new issue