diff --git a/compiler/scanner.v b/compiler/scanner.v index b0959f7b62..d9a245aeb5 100644 --- a/compiler/scanner.v +++ b/compiler/scanner.v @@ -151,8 +151,7 @@ fn (s mut Scanner) scan() ScanRes { // if s.file_path == 'd.v' { // println('\nscan()') // } - // if s.started { - if s.pos > 0 { + if s.started { // || (s.pos == 0 && s.text.len > 0 && s.text[s.pos] == `\n`) { s.pos++ }