aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-01-29 19:04:00 +0100
committerdec05eba <dec05eba@protonmail.com>2020-01-29 19:04:00 +0100
commit2ce9ebc39011831f9bd73511f696f1dd567ac0b9 (patch)
tree92f937d43ea7b2711879e0c00d23a1e3eade648d /include
parent1ab8f5d8bd9a730f8d6b11335343835b19fc4c3e (diff)
Allow passing variables to commands as args
Diffstat (limited to 'include')
-rw-r--r--include/bytecode.h1
-rw-r--r--include/program.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/include/bytecode.h b/include/bytecode.h
index 912da89..c0930ad 100644
--- a/include/bytecode.h
+++ b/include/bytecode.h
@@ -24,7 +24,6 @@ typedef enum {
TSL_OPCODE_SUB,
TSL_OPCODE_MUL,
TSL_OPCODE_DIV,
- TSL_OPCODE_LOADCA, /* add command argument to stack */
TSL_OPCODE_CALLC /* run a program using N arguments from the stack, where the bottom value is the name of the program */
} TslOpcode;
diff --git a/include/program.h b/include/program.h
index 52b4fe4..2fcdb07 100644
--- a/include/program.h
+++ b/include/program.h
@@ -16,8 +16,7 @@ typedef enum {
TSL_STACK_VALUE_TYPE_VARIABLE,
TSL_STACK_VALUE_TYPE_LIST,
TSL_STACK_VALUE_TYPE_MAP,
- TSL_STACK_VALUE_TYPE_INDEX,
- TSL_STACK_VALUE_TYPE_COMMAND_ARG
+ TSL_STACK_VALUE_TYPE_INDEX
} TslStackValueType;
typedef struct {