We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8444b5d commit 66269fdCopy full SHA for 66269fd
vm.c
@@ -5,7 +5,7 @@
5
6
static InterpretResult run(VM* vm) {
7
#define READ_BYTE() (*vm->ip++)
8
- #define READ_CONSTANT() (vm->chunk->constants.values[READ_BYTE()])
+ #define READ_CONSTANT() (vm->chunk->constants->values[READ_BYTE()])
9
#define BINARY_OP(op) \
10
do { \
11
if (!IS_NUMBER(peek(0)) || !IS_NUMBER(peek(1))) { \
0 commit comments