summaryrefslogtreecommitdiff
path: root/vm.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm.h')
-rw-r--r--vm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vm.h b/vm.h
index 74fe506..0d1782d 100644
--- a/vm.h
+++ b/vm.h
@@ -50,6 +50,8 @@ typedef enum {
OP_GETGLOBAL,
OP_SETGLOBAL,
+ OP_GETLOCAL,
+
OP_TRUE,
OP_FALSE,
OP_NIL,
@@ -59,6 +61,7 @@ typedef enum {
OP_REDO,
OP_CALL,
+ OP_ENDSCOPE,
} Op;
int runvm(State *S);