aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode/ops.h
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-10-26 08:55:12 +0200
committerBad Diode <bd@badd10de.dev>2021-10-26 08:55:12 +0200
commit9f1f2ff307bb3da8bfc6809ae05be589e1e37ed9 (patch)
treee58427f27162f673903c480e7858d77c3a9f6b23 /src/bytecode/ops.h
parent46356365270b71be94097b3c408d5f35a9ebd6ed (diff)
downloadbdl-9f1f2ff307bb3da8bfc6809ae05be589e1e37ed9.tar.gz
bdl-9f1f2ff307bb3da8bfc6809ae05be589e1e37ed9.zip
Add OP_DROP and improve error reporting
Diffstat (limited to 'src/bytecode/ops.h')
-rwxr-xr-xsrc/bytecode/ops.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bytecode/ops.h b/src/bytecode/ops.h
index d046ca2..7a43b91 100755
--- a/src/bytecode/ops.h
+++ b/src/bytecode/ops.h
@@ -33,6 +33,8 @@ typedef enum Ops {
33 // Procedures. 33 // Procedures.
34 OP_CALL, 34 OP_CALL,
35 OP_RETURN, 35 OP_RETURN,
36 // Clear stack after each statement.
37 OP_DROP,
36} Ops; 38} Ops;
37 39
38#endif // BDL_OPS_H 40#endif // BDL_OPS_H