Corrected various links within documentation

Corrected `noSideEffect pragma` links in lib/system
(The newer documentation uses slightly different links)

Corrected `noSideEffect pragma` in types links to match the updated link names

Minor link adjustment in stmts to match the newer link names
This commit is contained in:
apense
2015-05-25 02:44:08 -04:00
committed by Jonathan Edwards
parent 4702b5f5c3
commit 513423a08d
3 changed files with 6 additions and 6 deletions

View File

@@ -2248,14 +2248,14 @@ proc echo*(x: varargs[expr, `$`]) {.magic: "Echo", tags: [WriteIOEffect],
## Unlike other IO operations this is guaranteed to be thread-safe as
## ``echo`` is very often used for debugging convenience. If you want to use
## ``echo`` inside a `proc without side effects
## <manual.html#nosideeffect-pragma>`_ you can use `debugEcho <#debugEcho>`_
## <manual.html#pragmas-nosideeffect-pragma>`_ you can use `debugEcho <#debugEcho>`_
## instead.
proc debugEcho*(x: varargs[expr, `$`]) {.magic: "Echo", noSideEffect,
tags: [], raises: [].}
## Same as `echo <#echo>`_, but as a special semantic rule, ``debugEcho``
## pretends to be free of side effects, so that it can be used for debugging
## routines marked as `noSideEffect <manual.html#nosideeffect-pragma>`_.
## routines marked as `noSideEffect <manual.html#pragmas-nosideeffect-pragma>`_.
template newException*(exceptn: typedesc, message: string): expr =
## creates an exception object of type ``exceptn`` and sets its ``msg`` field