diff --git a/src/evaluate/operator.rs b/src/evaluate/operator.rs index 0851212..22c61cd 100644 --- a/src/evaluate/operator.rs +++ b/src/evaluate/operator.rs @@ -19,6 +19,7 @@ pub fn eval_operator(context: &mut Context, g: &Expression) -> Result Result Result { + r.set_linelocation(&args_ll); + return Ok(Some(r)); + }, + + Err( (_, err) ) => { + return Err((args_ll, err)); + } + } }, Operator::Negative => {