diff --git a/eval_tree.cc b/eval_tree.cc index 647635b1d..992f18175 100644 --- a/eval_tree.cc +++ b/eval_tree.cc @@ -84,7 +84,7 @@ NetExpr* NetEBinary::eval_tree() NetExpr*res = eval_arguments_(left_, right_); if (res != 0) { - res->set_line(*this); + res->set_line(*this); if (debug_eval_tree) { cerr << get_fileline() << ": debug: Evaluated"; if (left_->expr_type() == IVL_VT_REAL || @@ -137,7 +137,7 @@ NetExpr* NetEBAdd::eval_tree() // First try to elaborate the expression completely. NetExpr*res = eval_arguments_(left_,right_); if (res != 0) { - res->set_line(*this); + res->set_line(*this); if (debug_eval_tree) { cerr << get_fileline() << ": debug: Evaluated"; if (left_->expr_type() == IVL_VT_REAL || diff --git a/net_func_eval.cc b/net_func_eval.cc index 3179609c2..b156bdc1b 100644 --- a/net_func_eval.cc +++ b/net_func_eval.cc @@ -281,7 +281,7 @@ NetExpr* NetEBinary::evaluate_function(const LineInfo&loc, NetExpr*res = eval_arguments_(lval, rval); if (res != 0) { - res->set_line(*this); + res->set_line(*this); if (debug_eval_tree) { cerr << get_fileline() << ": debug: Evaluated"; if (lval->expr_type() == IVL_VT_REAL ||