From 94afe5474142fa594d263cea62578625470c58cc Mon Sep 17 00:00:00 2001 From: steve Date: Fri, 31 Dec 1999 17:38:37 +0000 Subject: [PATCH] Standardize some of the error messages. --- PExpr.cc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/PExpr.cc b/PExpr.cc index d0f8d976c..0f1711802 100644 --- a/PExpr.cc +++ b/PExpr.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #if !defined(WINNT) -#ident "$Id: PExpr.cc,v 1.11 1999/10/31 04:11:27 steve Exp $" +#ident "$Id: PExpr.cc,v 1.12 1999/12/31 17:38:37 steve Exp $" #endif # include "PExpr.h" @@ -43,14 +43,14 @@ NetNet* PExpr::elaborate_net(Design*des, const string&path, unsigned, unsigned long, unsigned long) const { - cerr << "Don't know how to elaborate `" << *this - << "' as gates." << endl; + cerr << get_line() << ": error: Unable to elaborate `" + << *this << "' as gates." << endl; return 0; } NetNet* PExpr::elaborate_lnet(Design*des, const string&path) const { - cerr << get_line() << ": expression not valid in assign l-value: " + cerr << get_line() << ": error: expression not valid in assign l-value: " << *this << endl; return 0; } @@ -128,6 +128,9 @@ bool PETernary::is_constant(Module*) const /* * $Log: PExpr.cc,v $ + * Revision 1.12 1999/12/31 17:38:37 steve + * Standardize some of the error messages. + * * Revision 1.11 1999/10/31 04:11:27 steve * Add to netlist links pin name and instance number, * and arrange in vvm for pin connections by name