nimvm is magic

This commit is contained in:
Yuriy Glukhov 2015-09-04 19:23:58 +03:00
commit 790ef23c48
3 changed files with 8 additions and 1 deletions

View file

@ -1173,6 +1173,10 @@ const
## "i386", "alpha", "powerpc", "powerpc64", "powerpc64el", "sparc",
## "amd64", "mips", "mipsel", "arm", "arm64".
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 {.