diff options
author | Araq <rumpf_a@web.de> | 2013-12-06 01:48:02 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2013-12-06 01:48:02 +0100 |
commit | 4ffe6a8282bf6f496881a2595d0f61f46a1d716c (patch) | |
tree | 9e4ded93ec2071d6c1c80620c7e6d8ac66d83bc6 /compiler/vmdef.nim | |
parent | 3560827a287a6a363b810b881133e80464db15c6 (diff) | |
download | Nim-4ffe6a8282bf6f496881a2595d0f61f46a1d716c.tar.gz |
new VM: passes more tests
Diffstat (limited to 'compiler/vmdef.nim')
-rw-r--r-- | compiler/vmdef.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/vmdef.nim b/compiler/vmdef.nim index 15ea9767b..1869b69c4 100644 --- a/compiler/vmdef.nim +++ b/compiler/vmdef.nim @@ -134,8 +134,9 @@ type emConst, ## evaluate for 'const' according to spec emOptimize, ## evaluate for optimization purposes (same as ## emConst?) - emStatic ## evaluate for enforced compile time eval + emStaticExpr, ## evaluate for enforced compile time eval ## ('static' context) + emStaticStmt ## 'static' as an expression TSandboxFlag* = enum ## what the evaluation engine should allow allowCast, ## allow unsafe language feature: 'cast' |