fix wat de

This commit is contained in:
vms 2021-09-03 19:22:32 +03:00
parent f0c93d9423
commit bb862e2e85

View File

@ -267,15 +267,15 @@ impl<'a> Parse<'a> for Instruction {
} else if lookahead.peek::<keyword::byte_array_lift_memory>() {
parser.parse::<keyword::byte_array_lift_memory>()?;
Ok(Instruction::StringLiftMemory)
Ok(Instruction::ByteArrayLiftMemory)
} else if lookahead.peek::<keyword::byte_array_lower_memory>() {
parser.parse::<keyword::byte_array_lower_memory>()?;
Ok(Instruction::StringLowerMemory)
Ok(Instruction::ByteArrayLowerMemory)
} else if lookahead.peek::<keyword::byte_array_size>() {
parser.parse::<keyword::byte_array_size>()?;
Ok(Instruction::StringSize)
Ok(Instruction::ByteArraySize)
} else if lookahead.peek::<keyword::array_lift_memory>() {
parser.parse::<keyword::array_lift_memory>()?;