eval_const is not strict.
This commit is contained in:
parent
68e52ce6b7
commit
d37b6599f4
8
eval.cc
8
eval.cc
|
|
@ -17,7 +17,7 @@
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_CVS_IDENT
|
#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
|
#endif
|
||||||
|
|
||||||
# include "config.h"
|
# 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);
|
verinum*tmp = parms_[idx]->eval_const(des, scope);
|
||||||
if (tmp == 0) {
|
if (tmp == 0) {
|
||||||
cerr << get_line() << ": error: "
|
|
||||||
<< "Unable to evaluate constant expression in concat: "
|
|
||||||
<< *parms_[idx] << endl;
|
|
||||||
delete accum;
|
delete accum;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
@ -279,6 +276,9 @@ verinum* PEUnary::eval_const(const Design*des, NetScope*scope) const
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log: eval.cc,v $
|
* $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
|
* Revision 1.41 2006/05/17 16:49:30 steve
|
||||||
* Error message if concat expression cannot evaluate.
|
* Error message if concat expression cannot evaluate.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue