make niminst compile again
This commit is contained in:
parent
190f706a10
commit
35133d97ef
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ when haveZipLib:
|
||||||
|
|
||||||
import
|
import
|
||||||
os, osproc, strutils, parseopt, parsecfg, strtabs, streams, debcreation,
|
os, osproc, strutils, parseopt, parsecfg, strtabs, streams, debcreation,
|
||||||
securehash
|
"../../compiler/securehash"
|
||||||
|
|
||||||
const
|
const
|
||||||
maxOS = 20 # max number of OSes
|
maxOS = 20 # max number of OSes
|
||||||
|
|
@ -283,7 +283,7 @@ proc yesno(p: var CfgParser, v: string): bool =
|
||||||
else: quit(errorStr(p, "unknown value; use: yes|no"))
|
else: quit(errorStr(p, "unknown value; use: yes|no"))
|
||||||
|
|
||||||
proc incl(s: var seq[string], x: string): int =
|
proc incl(s: var seq[string], x: string): int =
|
||||||
for i in 0.. <s.len:
|
for i in 0 ..< s.len:
|
||||||
if cmpIgnoreStyle(s[i], x) == 0: return i
|
if cmpIgnoreStyle(s[i], x) == 0: return i
|
||||||
s.add(x)
|
s.add(x)
|
||||||
result = s.len-1
|
result = s.len-1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue