mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-20 14:25:23 +00:00
Get rid of deprecation warnings in pegs
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user