From 634272f023a3123bc296690bc2dadd874b601ca9 Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Sun, 24 Oct 2021 12:24:29 +0200 Subject: Add OP_GET_GLOBAL and symbol resolution for globals --- src/bytecode/ops.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/bytecode/ops.h') diff --git a/src/bytecode/ops.h b/src/bytecode/ops.h index 63442ac..783d3cf 100755 --- a/src/bytecode/ops.h +++ b/src/bytecode/ops.h @@ -5,6 +5,7 @@ typedef enum Ops { // Load/store ops. OP_CONSTANT, OP_DEF, + OP_GET_GLOBAL, // Arithmetic ops. OP_SUM, OP_SUB, -- cgit v1.2.1