Be more clear about scope of failure.
This commit is contained in:
parent
4b0e5bd173
commit
3885f17d0f
7
eval.cc
7
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
|
||||||
*/
|
*/
|
||||||
#if !defined(WINNT) && !defined(macintosh)
|
#if !defined(WINNT) && !defined(macintosh)
|
||||||
#ident "$Id: eval.cc,v 1.19 2001/01/27 05:41:48 steve Exp $"
|
#ident "$Id: eval.cc,v 1.20 2001/02/09 02:49:59 steve Exp $"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
# include "PExpr.h"
|
# include "PExpr.h"
|
||||||
|
|
@ -123,7 +123,7 @@ verinum* PEIdent::eval_const(const Design*des, const string&path) const
|
||||||
|
|
||||||
if (dynamic_cast<const NetEParam*>(expr)) {
|
if (dynamic_cast<const NetEParam*>(expr)) {
|
||||||
cerr << get_line() << ": sorry: I cannot evaluate ``" <<
|
cerr << get_line() << ": sorry: I cannot evaluate ``" <<
|
||||||
text_ << "'' in this context." << endl;
|
text_ << "'' in this scope: " << scope->name() << endl;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -194,6 +194,9 @@ verinum* PEUnary::eval_const(const Design*des, const string&path) const
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log: eval.cc,v $
|
* $Log: eval.cc,v $
|
||||||
|
* Revision 1.20 2001/02/09 02:49:59 steve
|
||||||
|
* Be more clear about scope of failure.
|
||||||
|
*
|
||||||
* Revision 1.19 2001/01/27 05:41:48 steve
|
* Revision 1.19 2001/01/27 05:41:48 steve
|
||||||
* Fix sign extension of evaluated constants. (PR#91)
|
* Fix sign extension of evaluated constants. (PR#91)
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue