Fix failing tests due to Nim string change between Apr 27 and Apr 29 (doc: 5237ef4f52
)
This commit is contained in:
parent
fd0482180f
commit
d68c0bf44a
|
@ -96,7 +96,7 @@ func nextNonBlank(current_idx: var int, s: string) {.inline.} =
|
|||
const blanks = {' ', '_'}
|
||||
|
||||
inc current_idx
|
||||
while s[current_idx] in blanks and current_idx < s.len:
|
||||
while current_idx < s.len and s[current_idx] in blanks:
|
||||
inc current_idx
|
||||
|
||||
func readDecChar(c: range['0'..'9']): int {.inline.}=
|
||||
|
|
Loading…
Reference in New Issue