This commit is contained in:
EXetoC
2014-05-04 22:49:58 +02:00
parent 0a0b74bc24
commit f8b5133750

View File

@@ -361,7 +361,7 @@ Example:
""".}
{.push stackTrace:off.}
proc embedsC() {.asmNoStackFrame.} =
proc embedsC() =
var nimrodVar = 89
# use backticks to access Nimrod symbols within an emit section:
{.emit: """fprintf(stdout, "%d\n", cvariable + (int)`nimrodVar`);""".}