further steps to get rid of deprecated endOfFile and readLine

This commit is contained in:
Araq
2011-11-29 01:24:58 +01:00
parent a489161b16
commit e261a88d07
11 changed files with 35 additions and 21 deletions

View File

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