summary refs log tree commit diff stats
path: root/doc/manual.txt
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2014-05-29 02:15:01 +0200
committerAndreas Rumpf <rumpf_a@web.de>2014-05-29 02:15:01 +0200
commit208a594ff1b5bb38b27ff7e71422e515a45159be (patch)
tree73ff31d247e0f0c64a7678ce1503ebf8a0c10c0c /doc/manual.txt
parent7ab2bc38e63d1428409f023c332949fd4eeea1cf (diff)
parent19c73a5d0219f93858c188e15bdc4714941bc36e (diff)
downloadNim-208a594ff1b5bb38b27ff7e71422e515a45159be.tar.gz
Merge pull request #1178 from EXetoC/nostackframe
noStackFrame -> asmNoStackFrame
Diffstat (limited to 'doc/manual.txt')
-rw-r--r--doc/manual.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/manual.txt b/doc/manual.txt
index f0389a35e..5afe385bb 100644
--- a/doc/manual.txt
+++ b/doc/manual.txt
@@ -2408,7 +2408,8 @@ Nimrod identifiers shall be enclosed in a special character which can be
 specified in the statement's pragmas. The default special character is ``'`'``:
 
 .. code-block:: nimrod
-  proc addInt(a, b: int): int {.noStackFrame.} =
+  {.push stackTrace:off.}
+  proc addInt(a, b: int): int =
     # a in eax, and b in edx
     asm """
         mov eax, `a`
@@ -2417,6 +2418,7 @@ specified in the statement's pragmas. The default special character is ``'`'``:
         call `raiseOverflow`
       theEnd:
     """
+  {.pop.}
 
 If the GNU assembler is used, quotes and newlines are inserted automatically: