diff options
Diffstat (limited to 'doc/nimrodc.txt')
-rw-r--r-- | doc/nimrodc.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/nimrodc.txt b/doc/nimrodc.txt index 379e8469e..e4f1c41dc 100644 --- a/doc/nimrodc.txt +++ b/doc/nimrodc.txt @@ -360,10 +360,12 @@ Example: static int cvariable = 420; """.} - proc embedsC() {.noStackFrame.} = + {.push stackTrace:off.} + proc embedsC() = var nimrodVar = 89 # use backticks to access Nimrod symbols within an emit section: {.emit: """fprintf(stdout, "%d\n", cvariable + (int)`nimrodVar`);""".} + {.pop.} embedsC() |