slurp uses path; unidecode is improved and threadsafe

This commit is contained in:
Araq 2011-10-08 01:17:06 +02:00
commit e956abbadd
9 changed files with 76 additions and 48 deletions

View file

@ -218,7 +218,7 @@ proc `$`*(t: PStringTable): string {.rtl, extern: "nstDollar".} =
result.add("}")
when isMainModule:
const x = {"k": "v", "11": "22", "565": "67"}.newStringTable
var x = {"k": "v", "11": "22", "565": "67"}.newStringTable
assert x["k"] == "v"
assert x["11"] == "22"
assert x["565"] == "67"