diff --git a/eval_tree.cc b/eval_tree.cc index 8b5b9a495..a69c3b07e 100644 --- a/eval_tree.cc +++ b/eval_tree.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: eval_tree.cc,v 1.52 2003/05/30 02:55:32 steve Exp $" +#ident "$Id: eval_tree.cc,v 1.53 2003/06/04 01:26:17 steve Exp $" #endif # include "config.h" @@ -253,6 +253,12 @@ NetEConst* NetEBComp::eval_leeq_() } + if (left_->expr_width() == 0) { + cerr << get_line() << ": internal error: Something wrong" + << "with the left side width of <= ?" << endl; + cerr << get_line() << ": : " << *this << endl; + } + /* Detect the case where the right side is greater that or equal to the largest value the left side can possibly have. */ @@ -1392,6 +1398,9 @@ NetEConst* NetEUReduce::eval_tree() /* * $Log: eval_tree.cc,v $ + * Revision 1.53 2003/06/04 01:26:17 steve + * internal error for <= expression errors. + * * Revision 1.52 2003/05/30 02:55:32 steve * Support parameters in real expressions and * as real expressions, and fix multiply and