From bd09bed662878e464db7910408a1132f4d6707be Mon Sep 17 00:00:00 2001 From: steve Date: Mon, 14 Feb 2000 00:11:11 +0000 Subject: [PATCH] Mark the line numbers of NetCondit nodes. --- elaborate.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/elaborate.cc b/elaborate.cc index d9c77f3ad..0b8e9e305 100644 --- a/elaborate.cc +++ b/elaborate.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #if !defined(WINNT) -#ident "$Id: elaborate.cc,v 1.142 2000/02/06 23:13:14 steve Exp $" +#ident "$Id: elaborate.cc,v 1.143 2000/02/14 00:11:11 steve Exp $" #endif /* @@ -1291,6 +1291,7 @@ NetProc* PCondit::elaborate(Design*des, const string&path) const NetProc*e = else_? else_->elaborate(des, path) : 0; NetCondit*res = new NetCondit(expr, i, e); + res->set_line(*this); return res; } @@ -2002,6 +2003,9 @@ Design* elaborate(const map&modules, /* * $Log: elaborate.cc,v $ + * Revision 1.143 2000/02/14 00:11:11 steve + * Mark the line numbers of NetCondit nodes. + * * Revision 1.142 2000/02/06 23:13:14 steve * Include the scope in named gates. *