From 5946747970f31742bc58bdd2fbe174b8b5cdc678 Mon Sep 17 00:00:00 2001 From: Araq Date: Thu, 28 Aug 2014 23:48:42 +0200 Subject: updated the compiler to use the new symbol names --- compiler/babelcmd.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/babelcmd.nim') diff --git a/compiler/babelcmd.nim b/compiler/babelcmd.nim index d67b1dab5..b09637330 100644 --- a/compiler/babelcmd.nim +++ b/compiler/babelcmd.nim @@ -43,7 +43,7 @@ proc `<.`(a, b: string): bool = if a[i] == '.': inc i if b[j] == '.': inc j -proc addPackage(packages: PStringTable, p: string) = +proc addPackage(packages: StringTableRef, p: string) = let x = versionSplitPos(p) let name = p.substr(0, x-1) if x < p.len: @@ -53,7 +53,7 @@ proc addPackage(packages: PStringTable, p: string) = else: packages[name] = latest -iterator chosen(packages: PStringTable): string = +iterator chosen(packages: StringTableRef): string = for key, val in pairs(packages): let res = if val == latest: key else: key & '-' & val yield res -- cgit 1.4.1-2-gfad0