Typo.
This commit is contained in:
parent
0a0b74bc24
commit
f8b5133750
1 changed files with 1 additions and 1 deletions
|
|
@ -361,7 +361,7 @@ Example:
|
||||||
""".}
|
""".}
|
||||||
|
|
||||||
{.push stackTrace:off.}
|
{.push stackTrace:off.}
|
||||||
proc embedsC() {.asmNoStackFrame.} =
|
proc embedsC() =
|
||||||
var nimrodVar = 89
|
var nimrodVar = 89
|
||||||
# use backticks to access Nimrod symbols within an emit section:
|
# use backticks to access Nimrod symbols within an emit section:
|
||||||
{.emit: """fprintf(stdout, "%d\n", cvariable + (int)`nimrodVar`);""".}
|
{.emit: """fprintf(stdout, "%d\n", cvariable + (int)`nimrodVar`);""".}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue