mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-18 21:40:32 +00:00
fixed typos in the manual; kept trimcc tool up to date
This commit is contained in:
@@ -4670,7 +4670,7 @@ Example:
|
||||
|
||||
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, 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
|
||||
@@ -4702,9 +4702,9 @@ times, but if exhaustive compilation of all definitions is required, using
|
||||
|
||||
Example:
|
||||
|
||||
.. code-block: nimrod
|
||||
|
||||
{. noforward: on .}
|
||||
.. code-block:: nimrod
|
||||
|
||||
{.noforward: on.}
|
||||
|
||||
proc foo(x: int) =
|
||||
bar x
|
||||
|
||||
Reference in New Issue
Block a user