diff options
| author | Rose Hogenson <rhogenson@posteo.net> | 2022-07-30 13:30:34 -0700 |
|---|---|---|
| committer | Rose Hogenson <rhogenson@posteo.net> | 2022-07-30 13:30:34 -0700 |
| commit | 0632650d0e4250e08a76982ab2713a34e3531b33 (patch) | |
| tree | 1017fad6236661e2ec4b84ed2f005fa66e0ea554 /bytecode/src/data.rs | |
| parent | 3f79dd1c6a34b7f6746ace3b4a9592ebb83eb15f (diff) | |
| download | chromatopelma-0632650d0e4250e08a76982ab2713a34e3531b33.tar.zst | |
Add the typeof opcode.
Diffstat (limited to 'bytecode/src/data.rs')
| -rw-r--r-- | bytecode/src/data.rs | 2 |
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)] |
