diff options
author | Yuriy Glukhov <yuriy.glukhov@gmail.com> | 2015-09-04 19:23:58 +0300 |
---|---|---|
committer | Yuriy Glukhov <yuriy.glukhov@gmail.com> | 2015-09-04 20:50:29 +0300 |
commit | 790ef23c48329f0d0a5841aed3913b5a87119ca9 (patch) | |
tree | 700ba794b00b87fdc4738aeebd9d8f525c14b90b /lib | |
parent | 49869a2b10d73dac719690f3796a0584be38c0bb (diff) | |
download | Nim-790ef23c48329f0d0a5841aed3913b5a87119ca9.tar.gz |
nimvm is magic
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system.nim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/system.nim b/lib/system.nim index 042813ae1..5bd8c56c7 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -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 {. |