somewhat better 'suggest'

This commit is contained in:
Araq 2011-02-21 01:07:12 +01:00
commit 4e7a22cac3
6 changed files with 12 additions and 4 deletions

View file

@ -104,7 +104,6 @@ proc existsConfigVar*(key: string): bool
proc getConfigVar*(key: string): string
proc setConfigVar*(key, val: string)
proc addImplicitMod*(filename: string)
proc getOutFile*(filename, ext: string): string
proc binaryStrSearch*(x: openarray[string], y: string): int
# implementation
@ -117,7 +116,7 @@ proc getConfigVar(key: string): string =
proc setConfigVar(key, val: string) =
nstrtabs.put(gConfigVars, key, val)
proc getOutFile(filename, ext: string): string =
proc getOutFile*(filename, ext: string): string =
if options.outFile != "": result = options.outFile
else: result = changeFileExt(filename, ext)