summary refs log tree commit diff stats
path: root/compiler/babelcmd.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-08-28 23:48:42 +0200
committerAraq <rumpf_a@web.de>2014-08-28 23:48:42 +0200
commit5946747970f31742bc58bdd2fbe174b8b5cdc678 (patch)
treee1a429032294174db53820999f284cef7651847c /compiler/babelcmd.nim
parentc68c42a237c09af4a23fcf207aa51f9f12f5e917 (diff)
downloadNim-5946747970f31742bc58bdd2fbe174b8b5cdc678.tar.gz
updated the compiler to use the new symbol names
Diffstat (limited to 'compiler/babelcmd.nim')
-rw-r--r--compiler/babelcmd.nim4
1 files changed, 2 insertions, 2 deletions
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