Missing case warnings.

This commit is contained in:
steve 2003-09-13 01:30:07 +00:00
parent 1c51e1787c
commit 31c0a9dcd1
3 changed files with 18 additions and 3 deletions

View File

@ -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: elab_net.cc,v 1.117 2003/09/03 04:29:18 steve Exp $" #ident "$Id: elab_net.cc,v 1.118 2003/09/13 01:30:07 steve Exp $"
#endif #endif
# include "config.h" # include "config.h"
@ -1813,6 +1813,8 @@ NetNet* PENumber::elaborate_net(Design*des, NetScope*scope,
case verinum::Vz: case verinum::Vz:
top_v = verinum::Vz; top_v = verinum::Vz;
break; break;
default: /* V0 and V1, do nothing */
break;
} }
verinum num(top_v, net->pin_count()); verinum num(top_v, net->pin_count());
@ -2336,6 +2338,9 @@ NetNet* PEUnary::elaborate_net(Design*des, NetScope*scope,
/* /*
* $Log: elab_net.cc,v $ * $Log: elab_net.cc,v $
* Revision 1.118 2003/09/13 01:30:07 steve
* Missing case warnings.
*
* Revision 1.117 2003/09/03 04:29:18 steve * Revision 1.117 2003/09/03 04:29:18 steve
* Only build a mux as wide as can be selected. * Only build a mux as wide as can be selected.
* *

View File

@ -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: emit.cc,v 1.74 2003/05/30 02:55:32 steve Exp $" #ident "$Id: emit.cc,v 1.75 2003/09/13 01:30:07 steve Exp $"
#endif #endif
# include "config.h" # include "config.h"
@ -350,6 +350,8 @@ void NetScope::emit_defs(struct target_t*tgt) const
case TASK: case TASK:
tgt->task_def(this); tgt->task_def(this);
break; break;
default: /* BEGIN_END and FORK_JOIN, do nothing */
break;
} }
} }
@ -507,6 +509,9 @@ bool emit(const Design*des, const char*type)
/* /*
* $Log: emit.cc,v $ * $Log: emit.cc,v $
* Revision 1.75 2003/09/13 01:30:07 steve
* Missing case warnings.
*
* Revision 1.74 2003/05/30 02:55:32 steve * Revision 1.74 2003/05/30 02:55:32 steve
* Support parameters in real expressions and * Support parameters in real expressions and
* as real expressions, and fix multiply and * as real expressions, and fix multiply and

View File

@ -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: net_scope.cc,v 1.28 2003/03/10 23:40:53 steve Exp $" #ident "$Id: net_scope.cc,v 1.29 2003/09/13 01:30:07 steve Exp $"
#endif #endif
# include "config.h" # include "config.h"
@ -65,6 +65,8 @@ NetScope::NetScope(NetScope*up, const char*n, NetScope::TYPE t)
case NetScope::MODULE: case NetScope::MODULE:
module_name_ = 0; module_name_ = 0;
break; break;
default: /* BEGIN_END and FORK_JOIN, do nothing */
break;
} }
name_ = lex_strings.add(n); name_ = lex_strings.add(n);
} }
@ -448,6 +450,9 @@ string NetScope::local_hsymbol()
/* /*
* $Log: net_scope.cc,v $ * $Log: net_scope.cc,v $
* Revision 1.29 2003/09/13 01:30:07 steve
* Missing case warnings.
*
* Revision 1.28 2003/03/10 23:40:53 steve * Revision 1.28 2003/03/10 23:40:53 steve
* Keep parameter constants for the ivl_target API. * Keep parameter constants for the ivl_target API.
* *