diff --git a/src/context.rs b/src/context.rs index c61444c..3839f2f 100644 --- a/src/context.rs +++ b/src/context.rs @@ -61,7 +61,7 @@ impl Config { #[derive(Debug)] -#[derive(Clone)] +//#[derive(Clone)] pub struct Context { pub config: Config, @@ -76,12 +76,12 @@ pub struct Context { // General functions impl Context { pub fn new() -> Context { - Context{ + Context { config: Config::new(), history: Vec::new(), variables: HashMap::new(), functions: HashMap::new(), - shadow: HashMap::new(), + shadow: HashMap::new() } } diff --git a/src/evaluate/operator.rs b/src/evaluate/operator.rs index f5fbf8a..0851212 100644 --- a/src/evaluate/operator.rs +++ b/src/evaluate/operator.rs @@ -164,7 +164,8 @@ pub fn eval_operator(context: &mut Context, g: &Expression) -> Result