minor documentation improvements
This commit is contained in:
parent
bdd9f971e7
commit
5620e08563
2 changed files with 7 additions and 7 deletions
|
|
@ -1018,12 +1018,12 @@ the -d/--define option at compile time.
|
||||||
The implementation currently provides the following possible options (various
|
The implementation currently provides the following possible options (various
|
||||||
others may be added later).
|
others may be added later).
|
||||||
|
|
||||||
=============== ============================================
|
================= ============================================
|
||||||
pragma description
|
pragma description
|
||||||
=============== ============================================
|
================= ============================================
|
||||||
intdefine Reads in a build-time define as an integer
|
`intdefine`:idx: Reads in a build-time define as an integer
|
||||||
strdefine Reads in a build-time define as a string
|
`strdefine`:idx: Reads in a build-time define as a string
|
||||||
=============== ============================================
|
================= ============================================
|
||||||
|
|
||||||
.. code-block:: nim
|
.. code-block:: nim
|
||||||
const FooBar {.intdefine.}: int = 5
|
const FooBar {.intdefine.}: int = 5
|
||||||
|
|
|
||||||
|
|
@ -1185,7 +1185,7 @@ proc createHardlink*(src, dest: string) =
|
||||||
|
|
||||||
proc parseCmdLine*(c: string): seq[string] {.
|
proc parseCmdLine*(c: string): seq[string] {.
|
||||||
noSideEffect, rtl, extern: "nos$1".} =
|
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.
|
## This proc is only occasionally useful, better use the `parseopt` module.
|
||||||
##
|
##
|
||||||
## On Windows, it uses the following parsing rules
|
## On Windows, it uses the following parsing rules
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue