diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2015-06-10 10:55:31 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2015-06-10 10:55:31 +0200 |
commit | cb439d70bc85a1315b7dc44e82cf4aabd02ae7e4 (patch) | |
tree | 39900ed9e66d903382a32eb1bcdb6534b8032d77 /lib | |
parent | c237473e7184c3ccb6708b50d8d44e0f65cb43bc (diff) | |
parent | 867b38496b234df22ab34ef15344f848278b096d (diff) | |
download | Nim-cb439d70bc85a1315b7dc44e82cf4aabd02ae7e4.tar.gz |
Merge pull request #2892 from apense/patch-6
Fixes #2886 (moves compiler function into the compiler)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system.nim | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/system.nim b/lib/system.nim index 90587f306..949443dd9 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -2859,9 +2859,6 @@ proc `/`*(x, y: int): float {.inline, noSideEffect.} = ## integer division that results in a float. result = toFloat(x) / toFloat(y) -template `-|`*(b, s: expr): expr = - (if b >= 0: b else: s.len + b) - template spliceImpl(s, a, L, b: expr): stmt {.immediate.} = # make room for additional elements or cut: var slen = s.len |