summary refs log tree commit diff stats
path: root/doc/nimrodc.txt
diff options
context:
space:
mode:
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`);""".}