aboutsummaryrefslogtreecommitdiffstats
path: root/bytecode/src/data.rs
diff options
context:
space:
mode:
authorRose Hogenson <rhogenson@posteo.net>2022-07-30 13:30:34 -0700
committerRose Hogenson <rhogenson@posteo.net>2022-07-30 13:30:34 -0700
commit0632650d0e4250e08a76982ab2713a34e3531b33 (patch)
tree1017fad6236661e2ec4b84ed2f005fa66e0ea554 /bytecode/src/data.rs
parent3f79dd1c6a34b7f6746ace3b4a9592ebb83eb15f (diff)
downloadchromatopelma-0632650d0e4250e08a76982ab2713a34e3531b33.tar.zst
Add the typeof opcode.
Diffstat (limited to 'bytecode/src/data.rs')
-rw-r--r--bytecode/src/data.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/bytecode/src/data.rs b/bytecode/src/data.rs
index d6f9bd2..e14eaa9 100644
--- a/bytecode/src/data.rs
+++ b/bytecode/src/data.rs
@@ -80,6 +80,8 @@ impl Value {
}
return Value(0x2);
}
+
+ pub const NIL: Self = Value(0x12);
}
#[cfg(test)]