aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode/debug.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/debug.h
parent46356365270b71be94097b3c408d5f35a9ebd6ed (diff)
downloadbdl-9f1f2ff307bb3da8bfc6809ae05be589e1e37ed9.tar.gz
bdl-9f1f2ff307bb3da8bfc6809ae05be589e1e37ed9.zip
Add OP_DROP and improve error reporting
Diffstat (limited to 'src/bytecode/debug.h')
-rwxr-xr-xsrc/bytecode/debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bytecode/debug.h b/src/bytecode/debug.h
index 1e0d4d6..8c4a2eb 100755
--- a/src/bytecode/debug.h
+++ b/src/bytecode/debug.h
@@ -39,6 +39,8 @@ static const char* ops_str[] = {
39 // Procedures. 39 // Procedures.
40 [OP_CALL] = "OP_CALL", 40 [OP_CALL] = "OP_CALL",
41 [OP_RETURN] = "OP_RETURN", 41 [OP_RETURN] = "OP_RETURN",
42 // Clear stack after each statement.
43 [OP_DROP] = "OP_DROP",
42}; 44};
43 45
44void 46void