make travis green again

This commit is contained in:
Andreas Rumpf 2018-03-01 16:23:25 +01:00
commit a6c7972086

View file

@ -78,7 +78,7 @@ when declared(os.paramCount):
# we cannot provide this for NimRtl creation on Posix, because we can't # we cannot provide this for NimRtl creation on Posix, because we can't
# access the command line arguments then! # access the command line arguments then!
proc initOptParser*(cmdline = ""): OptParser {.rtl, extern: "npo$1String".} = proc initOptParser*(cmdline = ""): OptParser =
## inits the option parser. If ``cmdline == ""``, the real command line ## inits the option parser. If ``cmdline == ""``, the real command line
## (as provided by the ``OS`` module) is taken. ## (as provided by the ``OS`` module) is taken.
result.pos = 0 result.pos = 0
@ -94,7 +94,7 @@ when declared(os.paramCount):
result.key = TaintedString"" result.key = TaintedString""
result.val = TaintedString"" result.val = TaintedString""
proc initOptParser*(cmdline: seq[string]): OptParser {.rtl, extern: "npo$1Seq".} = proc initOptParser*(cmdline: seq[string]): OptParser =
## inits the option parser. If ``cmdline.len == 0``, the real command line ## inits the option parser. If ``cmdline.len == 0``, the real command line
## (as provided by the ``OS`` module) is taken. ## (as provided by the ``OS`` module) is taken.
result.pos = 0 result.pos = 0