eval_const is not strict.

This commit is contained in:
steve 2006-05-19 04:07:24 +00:00
parent 68e52ce6b7
commit d37b6599f4
1 changed files with 4 additions and 4 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.cc,v 1.41 2006/05/17 16:49:30 steve Exp $"
#ident "$Id: eval.cc,v 1.42 2006/05/19 04:07:24 steve Exp $"
#endif
# include "config.h"
@ -153,9 +153,6 @@ verinum* PEConcat::eval_const(const Design*des, NetScope*scope) const
verinum*tmp = parms_[idx]->eval_const(des, scope);
if (tmp == 0) {
cerr << get_line() << ": error: "
<< "Unable to evaluate constant expression in concat: "
<< *parms_[idx] << endl;
delete accum;
return 0;
}
@ -279,6 +276,9 @@ verinum* PEUnary::eval_const(const Design*des, NetScope*scope) const
/*
* $Log: eval.cc,v $
* Revision 1.42 2006/05/19 04:07:24 steve
* eval_const is not strict.
*
* Revision 1.41 2006/05/17 16:49:30 steve
* Error message if concat expression cannot evaluate.
*