pull/907/head
d2verb 2019-07-02 01:07:22 +09:00 committed by Alexander Medvednikov
parent 1ca20196d0
commit e27a3b65f1
1 changed files with 1 additions and 2 deletions

View File

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