diff --git a/compiler/scanner.v b/compiler/scanner.v index 5829f6ec8c..d89265a46f 100644 --- a/compiler/scanner.v +++ b/compiler/scanner.v @@ -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)