summary refs log tree commit diff stats
path: root/doc/nimrodc.txt
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-08-20 01:01:46 +0200
committerAraq <rumpf_a@web.de>2011-08-20 01:01:46 +0200
commitdd190a5c01ed904d844584074f729ee9cd677a3e (patch)
tree8b942abeda654d4fad2ca476fbb7d78e140012b6 /doc/nimrodc.txt
parentd560e84fcc1171164073a31797649c26a54b03e1 (diff)
downloadNim-dd190a5c01ed904d844584074f729ee9cd677a3e.tar.gz
more occurences of 'pure' proc pragma fixed
Diffstat (limited to 'doc/nimrodc.txt')
-rwxr-xr-xdoc/nimrodc.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/nimrodc.txt b/doc/nimrodc.txt
index 5808ca684..286bf2a3f 100755
--- a/doc/nimrodc.txt
+++ b/doc/nimrodc.txt
@@ -184,7 +184,7 @@ Example:
   static int cvariable = 420;

   """.}

 

-  proc embedsC() {.pure.} = 

+  proc embedsC() {.noStackFrame.} = 

     var nimrodVar = 89

     # use backticks to access Nimrod symbols within an emit section:

     {.emit: """fprintf(stdout, "%d\n", cvariable + (int)`nimrodVar`);""".}