]> git.saurik.com Git - bison.git/blobdiff - src/state.c
* src/tables.c (tables_generate): Use free for pointers that
[bison.git] / src / state.c
index b258ceeb6b9f096889c72de4e2c6319874660c4e..846bdae503e835be780cbccee594a01bceb0487a 100644 (file)
@@ -141,8 +141,7 @@ state_new (symbol_number_t accessing_symbol,
 {
   state_t *res;
 
-  if (nstates >= STATE_NUMBER_MAX)
-    fatal (_("too many states (max %d)"), STATE_NUMBER_MAX);
+  assert (nstates < STATE_NUMBER_MAX);
 
   res = STATE_ALLOC (core_size);
   res->accessing_symbol = accessing_symbol;