more occurences of 'pure' proc pragma fixed

This commit is contained in:
Araq 2011-08-20 01:01:46 +02:00
commit dd190a5c01
4 changed files with 30 additions and 29 deletions

View file

@ -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`);""".}