Corrected name of the pragma for no side effects.

This commit is contained in:
Hans Raaf 2015-02-05 15:24:59 +01:00
parent de24cfd0c2
commit 730a5ae1de
1 changed files with 1 additions and 1 deletions

View File

@ -27,6 +27,6 @@ when isMainModule:
* Do it when you compile: `$ nim c -d:useSomeFeature myApp` * Do it when you compile: `$ nim c -d:useSomeFeature myApp`
* Put it in the local `nim.cfg` file `define:useSomeFeature` * Put it in the local `nim.cfg` file `define:useSomeFeature`
## How do I echo in a ``{.noSideEffects.}`` proc? ## How do I echo in a ``{.noSideEffect.}`` proc?
You can use ``debugEcho`` for this. You can use ``debugEcho`` for this.