new VM: passes more tests
This commit is contained in:
parent
3560827a28
commit
4ffe6a8282
6 changed files with 45 additions and 26 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue