From c7c1bd7641581e2a0b84dcecdab61ed7c43268e9 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sun, 22 Nov 2015 15:26:49 -0500 Subject: add input --- src/opcodes.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/opcodes.h') diff --git a/src/opcodes.h b/src/opcodes.h index becfb3c..521afcf 100644 --- a/src/opcodes.h +++ b/src/opcodes.h @@ -45,5 +45,6 @@ #define TYPE_STR 0x2C #define ADD_CHAR 0x2D #define NEWLINE 0x2E -/* new opcodes here, be sure to update vm.c */ +#define READ_VAR 0x2F +/* new opcodes here, be sure to update compile.c, vm.c, and emitc.c */ #define LINEMARK 0xFF -- cgit v1.1