1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

interactive debugging

This commit is contained in:
Emily Hudson
2019-07-26 15:45:16 +01:00
committed by Alexander Medvednikov
parent 8b195ba32a
commit 90bb48db5d
4 changed files with 27 additions and 14 deletions

View File

@ -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++
}