summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2013-05-02 00:07:59 +0100
committerDominik Picheta <dominikpicheta@googlemail.com>2013-05-02 00:07:59 +0100
commitac9db5d6840c88cd89e4df5a47d1bdeedb07d170 (patch)
treeaa5fde925892e8e06a9d8dd9d670a3123175d9a2 /compiler
parent89f9772f15f93fd27531d341ed762d5236c67be0 (diff)
downloadNim-ac9db5d6840c88cd89e4df5a47d1bdeedb07d170.tar.gz
Changed babel path handling.
Diffstat (limited to 'compiler')
-rw-r--r--compiler/babelcmd.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/babelcmd.nim b/compiler/babelcmd.nim
index 718af1b21..b67a26040 100644
--- a/compiler/babelcmd.nim
+++ b/compiler/babelcmd.nim
@@ -83,7 +83,7 @@ proc addPathRec(dir: string, info: TLineInfo) =
     if k == pcDir and p[pos] != '.':
       addPackage(packages, p)
   for p in packages.chosen:
-    addPathWithNimFiles(p, info)
+    addBabelPath(p, info)
 
 proc babelPath*(path: string, info: TLineInfo) =
   addPathRec(path, info)