diff options
author | Ori Bernstein <ori@eigenstate.org> | 2013-12-27 13:15:24 -0500 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2013-12-27 13:15:24 -0500 |
commit | 09a8efbc7e59523a6df366fffee7b207f3327c68 (patch) | |
tree | fc8870f9b2def4092ddb1de0fb24dcfa8079a743 /libstd/intparse.myr | |
parent | 460b6ed7be00fe2bbf4807bc67c49e07d10384f0 (diff) | |
download | mc-09a8efbc7e59523a6df366fffee7b207f3327c68.tar.gz |
Make 'test' work again.
Diffstat (limited to 'libstd/intparse.myr')
-rw-r--r-- | libstd/intparse.myr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstd/intparse.myr b/libstd/intparse.myr index 8d5b6cf..28d859c 100644 --- a/libstd/intparse.myr +++ b/libstd/intparse.myr @@ -50,7 +50,7 @@ generic doparse = {s, isneg, base while s.len != 0 (c, s) = striter(s) cv = charval(c, base) - if cv > 0 + if cv >= 0 v *= (base castto(@a::(tcint,tcnum,tctest))) v += cv else |