diff options
author | Andreas Rumpf <andreas@andreas-desktop> | 2009-12-14 01:38:05 +0100 |
---|---|---|
committer | Andreas Rumpf <andreas@andreas-desktop> | 2009-12-14 01:38:05 +0100 |
commit | 3b7ef2288f60bc5c355ad9aeaa127431ec3aee7b (patch) | |
tree | 5e028b11cf337290942b3cf6ecc599854de36747 /rod/cgen.nim | |
parent | 911c1cb301a8483e463772b785b0aee79cf2a68c (diff) | |
download | Nim-3b7ef2288f60bc5c355ad9aeaa127431ec3aee7b.tar.gz |
floating point checks
Diffstat (limited to 'rod/cgen.nim')
-rwxr-xr-x | rod/cgen.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rod/cgen.nim b/rod/cgen.nim index 302a821ba..a5f910f8a 100755 --- a/rod/cgen.nim +++ b/rod/cgen.nim @@ -327,7 +327,7 @@ proc libCandidates(s: string, dest: var TStringSeq) = if le >= 0 and ri > le: var prefix = copy(s, 0, le - 1) var suffix = copy(s, ri + 1) - for middle in split(copy(s, le + 1, ri - 1), {'|'}): + for middle in split(copy(s, le + 1, ri - 1), '|'): libCandidates(prefix & middle & suffix, dest) else: add(dest, s) |