mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
Fix #898
This commit is contained in:
parent
1ca20196d0
commit
e27a3b65f1
@ -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++
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user