mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
scanner: fix Scanner.debug_tokens skipping first char
This commit is contained in:
parent
85c05b6822
commit
5d606000b9
@ -722,6 +722,7 @@ fn (s &Scanner) expect(want string, start_pos int) bool {
|
||||
|
||||
fn (s mut Scanner) debug_tokens() {
|
||||
s.pos = 0
|
||||
s.started = false
|
||||
s.debug = true
|
||||
|
||||
fname := s.file_path.all_after(os.PathSeparator)
|
||||
|
Loading…
Reference in New Issue
Block a user