mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
interactive debugging
This commit is contained in:

committed by
Alexander Medvednikov

parent
8b195ba32a
commit
90bb48db5d
@ -210,7 +210,7 @@ fn (s mut Scanner) skip_whitespace() {
|
||||
for s.pos < s.text.len && s.text[s.pos].is_white() {
|
||||
// Count \r\n as one line
|
||||
if is_nl(s.text[s.pos]) && !s.expect('\r\n', s.pos-1) {
|
||||
s.line_nr++
|
||||
s.line_nr++
|
||||
}
|
||||
s.pos++
|
||||
}
|
||||
|
Reference in New Issue
Block a user