The VM now properly aborts on critical errors
This commit is contained in:
parent
3b2359959e
commit
65af26f962
3 changed files with 43 additions and 9 deletions
|
|
@ -156,6 +156,14 @@ enum
|
|||
ATAG_RNG, // pointer to FRandom
|
||||
};
|
||||
|
||||
enum EVMAbortException
|
||||
{
|
||||
X_READ_NIL,
|
||||
X_WRITE_NIL,
|
||||
X_TOO_MANY_TRIES,
|
||||
X_ARRAY_OUT_OF_BOUNDS,
|
||||
};
|
||||
|
||||
class VMFunction : public DObject
|
||||
{
|
||||
DECLARE_ABSTRACT_CLASS(VMFunction, DObject);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue