diff options
author | Araq <rumpf_a@web.de> | 2012-12-06 22:51:39 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-12-06 22:51:39 +0100 |
commit | 05b05be9f8554adc3081b71eb378940cb75428fd (patch) | |
tree | 42b04e1e3098133c3e131b231142eaac4d1b1b70 /compiler | |
parent | 22a59c057fd94d34443611f8383dce03c4c6d744 (diff) | |
download | Nim-05b05be9f8554adc3081b71eb378940cb75428fd.tar.gz |
replaced recursivePath with shallowPath for Babel
Diffstat (limited to 'compiler')
-rwxr-xr-x | compiler/commands.nim | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim index 50b4a1e6f..ad5f2b7e7 100755 --- a/compiler/commands.nim +++ b/compiler/commands.nim @@ -202,9 +202,8 @@ proc addPathRec(dir: string, info: TLineInfo) = if dir[pos] in {DirSep, AltSep}: inc(pos) for k,p in os.walkDir(dir): if k == pcDir and p[pos] != '.': - addPathRec(p, info) if not contains(options.searchPaths, p): - Message(info, hintPath, p) + #Message(info, hintPath, p) lists.PrependStr(options.searchPaths, p) proc track(arg: string, info: TLineInfo) = @@ -226,7 +225,7 @@ proc processSwitch(switch, arg: string, pass: TCmdlinePass, info: TLineInfo) = of "path", "p": expectArg(switch, arg, pass, info) addPath(processPath(arg), info) - of "recursivepath": + of "shallowpath": expectArg(switch, arg, pass, info) var path = processPath(arg) addPathRec(path, info) |