Fixed nimvm in generics.

This commit is contained in:
Yuriy Glukhov 2015-09-07 13:49:32 +03:00
commit 4ef4ad305c
3 changed files with 14 additions and 8 deletions

View file

@ -1173,12 +1173,12 @@ const
## "i386", "alpha", "powerpc", "powerpc64", "powerpc64el", "sparc",
## "amd64", "mips", "mipsel", "arm", "arm64".
nimvm* {.magic: "Nimvm".}: bool = false
seqShallowFlag = low(int)
let nimvm* {.magic: "Nimvm".}: bool = false
## may be used only in "when" expression.
## It is true in Nim VM context and false otherwise
seqShallowFlag = low(int)
proc compileOption*(option: string): bool {.
magic: "CompileOption", noSideEffect.}
## can be used to determine an on|off compile-time option. Example: