diff options
author | Araq <rumpf_a@web.de> | 2013-12-29 03:19:10 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2013-12-29 03:19:10 +0100 |
commit | b731e6ef1c4f10b9ba544c0a66ea1066b3c471a8 (patch) | |
tree | 01be2fef561c998bdffad7c026809b967a2315b7 /compiler/options.nim | |
parent | 438703f59e4d226f6e83e78c4f549a381526c6c2 (diff) | |
download | Nim-b731e6ef1c4f10b9ba544c0a66ea1066b3c471a8.tar.gz |
case consistency: cs:partial bootstraps on windows
Diffstat (limited to 'compiler/options.nim')
-rw-r--r-- | compiler/options.nim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/options.nim b/compiler/options.nim index 640f70f28..f184deb69 100644 --- a/compiler/options.nim +++ b/compiler/options.nim @@ -254,11 +254,11 @@ proc completeGeneratedFilePath*(f: string, createSubDir: bool = true): string = result = joinPath(subdir, tail) #echo "completeGeneratedFilePath(", f, ") = ", result -iterator iterSearchPath*(SearchPaths: TLinkedList): string = - var it = PStrEntry(SearchPaths.head) +iterator iterSearchPath*(searchPaths: TLinkedList): string = + var it = PStrEntry(searchPaths.head) while it != nil: yield it.data - it = PStrEntry(it.Next) + it = PStrEntry(it.next) proc rawFindFile(f: string): string = for it in iterSearchPath(searchPaths): @@ -274,7 +274,7 @@ proc rawFindFile2(f: string): string = if existsFile(result): bringToFront(lazyPaths, it) return result.canonicalizePath - it = PStrEntry(it.Next) + it = PStrEntry(it.next) result = "" proc findFile*(f: string): string {.procvar.} = |