summaryrefslogtreecommitdiff
path: root/vm.h
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-06-20 18:11:09 +0100
committerubq323 <ubq323@ubq323.website>2024-06-20 18:11:09 +0100
commit600eaef90f9f0507635fec4cf98f7fa1d1779bd1 (patch)
treed057e694a4b9a6a0109523f61ad788a125a7f479 /vm.h
parentb8d0ee2e105727021f9466790ec07ecbfee8dff6 (diff)
add readable globals
Diffstat (limited to 'vm.h')
-rw-r--r--vm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vm.h b/vm.h
index 4400564..bce1923 100644
--- a/vm.h
+++ b/vm.h
@@ -44,6 +44,8 @@ typedef enum {
OP_SUB,
OP_MUL,
OP_DIV,
+
+ OP_GETGLOBAL,
} Op;
void runvm(State *S);