minor documentation improvements

This commit is contained in:
Araq
2017-02-17 00:00:39 +01:00
parent bdd9f971e7
commit 5620e08563
2 changed files with 7 additions and 7 deletions

View File

@@ -1018,12 +1018,12 @@ the -d/--define option at compile time.
The implementation currently provides the following possible options (various
others may be added later).
=============== ============================================
pragma description
=============== ============================================
intdefine Reads in a build-time define as an integer
strdefine Reads in a build-time define as a string
=============== ============================================
================= ============================================
pragma description
================= ============================================
`intdefine`:idx: Reads in a build-time define as an integer
`strdefine`:idx: Reads in a build-time define as a string
================= ============================================
.. code-block:: nim
const FooBar {.intdefine.}: int = 5

View File

@@ -1185,7 +1185,7 @@ proc createHardlink*(src, dest: string) =
proc parseCmdLine*(c: string): seq[string] {.
noSideEffect, rtl, extern: "nos$1".} =
## Splits a command line into several components;
## Splits a `command line`:idx: into several components;
## This proc is only occasionally useful, better use the `parseopt` module.
##
## On Windows, it uses the following parsing rules