mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-04-18 03:00:27 -04:00
Add unimplemented yield* instruction
This commit is contained in:
@@ -56,6 +56,7 @@ pub enum InstructionByte {
|
||||
UnpackIterRes = 0x35,
|
||||
Cat = 0x36,
|
||||
Yield = 0x37,
|
||||
YieldStar = 0x38,
|
||||
}
|
||||
|
||||
impl InstructionByte {
|
||||
@@ -119,6 +120,7 @@ impl InstructionByte {
|
||||
0x35 => UnpackIterRes,
|
||||
0x36 => Cat,
|
||||
0x37 => Yield,
|
||||
0x38 => YieldStar,
|
||||
|
||||
_ => panic!("Unrecognized instruction: {}", byte),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user