diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2009-04-22 15:55:27 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2009-04-22 15:55:27 +0200 |
commit | e792940f5273bf8f8761c4cb29b241445e8b1d0b (patch) | |
tree | 8a6b224b8c0b3db14dbc20d89b7ca9ccb19b1f56 /tools | |
parent | 439aa2d04d5528b5aed288f70895515d1da2dc3d (diff) | |
download | Nim-e792940f5273bf8f8761c4cb29b241445e8b1d0b.tar.gz |
version 0.7.6
Diffstat (limited to 'tools')
-rw-r--r-- | tools/niminst | bin | 311984 -> 311978 bytes | |||
-rw-r--r-- | tools/niminst.nim | 2 | ||||
-rw-r--r-- | tools/nimweb.nim | 2 | ||||
-rw-r--r-- | tools/sunset.tmpl | 2 |
4 files changed, 3 insertions, 3 deletions
diff --git a/tools/niminst b/tools/niminst index 4f007f577..a21ff1486 100644 --- a/tools/niminst +++ b/tools/niminst Binary files differdiff --git a/tools/niminst.nim b/tools/niminst.nim index 2418ea6c9..2b05e2e68 100644 --- a/tools/niminst.nim +++ b/tools/niminst.nim @@ -114,7 +114,7 @@ proc parseCmdLine(c: var TConfigData) = of "version", "v": writeln(stdout, Version) of "o", "output": c.outdir = val of "var": - var idx = findSubStr('=', val) + var idx = val.find('=') if idx < 0: quit("invalid command line") c.vars[copy(val, 0, idx-1)] = copy(val, idx+1) else: quit(Usage) diff --git a/tools/nimweb.nim b/tools/nimweb.nim index 81602549c..135be9570 100644 --- a/tools/nimweb.nim +++ b/tools/nimweb.nim @@ -70,7 +70,7 @@ proc parseCmdLine(c: var TConfigData) = of "version", "v": writeln(stdout, Version) of "o", "output": c.outdir = val of "var": - var idx = findSubStr('=', val) + var idx = val.find('=') if idx < 0: quit("invalid command line") c.vars[copy(val, 0, idx-1)] = copy(val, idx+1) else: quit(Usage) diff --git a/tools/sunset.tmpl b/tools/sunset.tmpl index 02e49218c..e10f58eff 100644 --- a/tools/sunset.tmpl +++ b/tools/sunset.tmpl @@ -62,7 +62,7 @@ </div> </div> <div id="footer"> - copyright © 2008 $c.authors | Last update: ${getDateStr()} + copyright © 2009 $c.authors | Last update: ${getDateStr()} | <a class="reference" href="http://validator.w3.org/check?uri=referer">XHTML 1.1</a> | <a class="reference" href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> | <a class="reference" href="http://www.dcarter.co.uk">design by dcarter</a> |