diff --git a/ablescript/src/variables.rs b/ablescript/src/variables.rs index 0e0a1685..571a53d3 100644 --- a/ablescript/src/variables.rs +++ b/ablescript/src/variables.rs @@ -449,6 +449,7 @@ impl ops::Not for Value { tape_len, } => { instructions.reverse(); + Functio::BfFunctio { instructions, tape_len, @@ -460,6 +461,7 @@ impl ops::Not for Value { } => { params.reverse(); body.reverse(); + Functio::AbleFunctio { params, body } } Functio::Eval(code) => Functio::Eval(code.chars().rev().collect()),