Get rid of deprecation warnings in pegs

This commit is contained in:
def
2015-01-16 00:23:33 +01:00
parent 110c4aca7f
commit aae3c6c8b7
3 changed files with 16 additions and 16 deletions

View File

@@ -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)

View File

@@ -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)