get rid of deprecated toLower/toUpper
This commit is contained in:
parent
dc4b2c920c
commit
9605435f2e
8 changed files with 16 additions and 15 deletions
|
|
@ -188,7 +188,7 @@ proc mangle*(name: string): string =
|
|||
let c = name[i]
|
||||
case c
|
||||
of 'A'..'Z':
|
||||
add(result, c.toLower)
|
||||
add(result, c.toLowerAscii)
|
||||
of '_':
|
||||
discard
|
||||
of 'a'..'z', '0'..'9':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue