fixed typos in the manual; kept trimcc tool up to date
This commit is contained in:
parent
51c6356ea7
commit
9fd21ba2db
2 changed files with 6 additions and 6 deletions
|
|
@ -4670,7 +4670,7 @@ Example:
|
||||||
|
|
||||||
NoForward pragma
|
NoForward pragma
|
||||||
----------------
|
----------------
|
||||||
The `noforward`:idx pragma can be used to turn on and off a special compilation
|
The `noforward`:idx: pragma can be used to turn on and off a special compilation
|
||||||
mode that to large extent eliminates the need for forward declarations. In this
|
mode that to large extent eliminates the need for forward declarations. In this
|
||||||
mode, the proc definitions may appear out of order and the compiler will postpone
|
mode, the proc definitions may appear out of order and the compiler will postpone
|
||||||
their semantic analysis and compilation until it actually needs to generate code
|
their semantic analysis and compilation until it actually needs to generate code
|
||||||
|
|
@ -4702,7 +4702,7 @@ times, but if exhaustive compilation of all definitions is required, using
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
.. code-block: nimrod
|
.. code-block:: nimrod
|
||||||
|
|
||||||
{.noforward: on.}
|
{.noforward: on.}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,13 +12,13 @@ proc walker(dir: string) =
|
||||||
of pcFile:
|
of pcFile:
|
||||||
moveFile(dest=newName(path), source=path)
|
moveFile(dest=newName(path), source=path)
|
||||||
# test if installation still works:
|
# test if installation still works:
|
||||||
if execShellCmd(r"nimrod c --force_build tests\tlastmod") == 0:
|
if execShellCmd(r"nimrod c --force_build koch") == 0:
|
||||||
echo "Optional: ", path
|
echo "Optional: ", path
|
||||||
removeFile(newName(path))
|
removeFile(newName(path))
|
||||||
else:
|
else:
|
||||||
echo "Required: ", path
|
echo "Required: ", path
|
||||||
# copy back:
|
# copy back:
|
||||||
moveFile(path, newName(path))
|
moveFile(dest=path, sourc=newName(path))
|
||||||
of pcDir:
|
of pcDir:
|
||||||
walker(path)
|
walker(path)
|
||||||
else: nil
|
else: nil
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue