fixes #6631
This commit is contained in:
parent
280dae0ffb
commit
b14cc1e3b2
8 changed files with 65 additions and 38 deletions
|
|
@ -48,7 +48,7 @@ proc validEmailAddress*(s: string): bool {.noSideEffect,
|
|||
"aero", "jobs", "museum": return true
|
||||
else: return false
|
||||
|
||||
proc parseInt*(s: string, value: var int, validRange: Slice[int, int]) {.
|
||||
proc parseInt*(s: string, value: var int, validRange: HSlice[int, int]) {.
|
||||
noSideEffect, rtl, extern: "nmatchParseInt".} =
|
||||
## parses `s` into an integer in the range `validRange`. If successful,
|
||||
## `value` is modified to contain the result. Otherwise no exception is
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue