further steps to get rid of deprecated endOfFile and readLine
This commit is contained in:
parent
a489161b16
commit
e261a88d07
11 changed files with 35 additions and 21 deletions
|
|
@ -46,7 +46,7 @@ proc loadUnidecodeTable*(datafile = "unidecode.dat") =
|
|||
newSeq(translationTable, 0xffff)
|
||||
var i = 0
|
||||
for line in lines(datafile):
|
||||
translationTable[i] = line
|
||||
translationTable[i] = line.string
|
||||
inc(i)
|
||||
|
||||
proc unidecode*(s: string): string =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue