internal error for <= expression errors.

This commit is contained in:
steve 2003-06-04 01:26:17 +00:00
parent bc91ec41f2
commit d3daa997b5
1 changed files with 10 additions and 1 deletions

View File

@ -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