use vm->callLevel to count recursive calls to VM_Call
Throw an error if vm->callLevel is set and VM_Free is called.
This commit is contained in:
1 parent
6c5211c0d3
commit
7a5243a3b2
4 files changed
+18
-16
No files matched your search
@@ -156,7 +156,7 @@ struct vm_s {
|
||||
int numSymbols;
|
||||
struct vmSymbol_s *symbols;
|
||||
|
||||
int callLevel; // for debug indenting
|
||||
int callLevel; // counts recursive VM_Call
|
||||
int breakFunction; // increment breakCount on function entry to this
|
||||
int breakCount;
|
||||
|
||||
|
||||
Reference in new issue
Block a user