From 0341c0c727531963a404e03e3c5f4b1096412355 Mon Sep 17 00:00:00 2001 From: steve Date: Sun, 3 Nov 2002 20:36:10 +0000 Subject: [PATCH] Error message for mising code generator type. --- emit.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/emit.cc b/emit.cc index 0077c0f29..a8113e208 100644 --- a/emit.cc +++ b/emit.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: emit.cc,v 1.69 2002/08/12 01:34:59 steve Exp $" +#ident "$Id: emit.cc,v 1.70 2002/11/03 20:36:10 steve Exp $" #endif # include "config.h" @@ -470,11 +470,18 @@ bool emit(const Design*des, const char*type) return des->emit(tgt->meth); } + + cerr << "error: Code generator type " << type + << " not found." << endl; + return false; } /* * $Log: emit.cc,v $ + * Revision 1.70 2002/11/03 20:36:10 steve + * Error message for mising code generator type. + * * Revision 1.69 2002/08/12 01:34:59 steve * conditional ident string using autoconfig. *