system.nim: workaround for the fixed documentation generator

(cherry picked from commit 1dd1d66f16)
This commit is contained in:
Araq
2018-10-30 21:58:02 +01:00
committed by narimiran
parent 78f9a55287
commit 8172ac8c0b

View File

@@ -2940,7 +2940,7 @@ when defined(nimnomagic64):
## returns the absolute value of `x`. If `x` is ``low(x)`` (that
## is -MININT for its type), an overflow exception is thrown (if overflow
## checking is turned on).
if x < 0: -x else: x
result = if x < 0: -x else: x
else:
proc abs*(x: int64): int64 {.magic: "AbsI64", noSideEffect.} =
## returns the absolute value of `x`. If `x` is ``low(x)`` (that