Get rid of deprecation warnings in pegs
This commit is contained in:
parent
110c4aca7f
commit
aae3c6c8b7
3 changed files with 16 additions and 16 deletions
|
|
@ -513,7 +513,7 @@ proc bounds*(c: Captures,
|
|||
|
||||
when not useUnicode:
|
||||
type
|
||||
TRune = char
|
||||
Rune = char
|
||||
template fastRuneAt(s, i, ch: expr) =
|
||||
ch = s[i]
|
||||
inc(i)
|
||||
|
|
|
|||
|
|
@ -514,7 +514,7 @@ proc bounds*(c: Captures,
|
|||
|
||||
when not useUnicode:
|
||||
type
|
||||
TRune = char
|
||||
Rune = char
|
||||
template fastRuneAt(s, i, ch: expr) =
|
||||
ch = s[i]
|
||||
inc(i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue