X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/408476bca98e78ea0c398f36ef58f4466edb277a..cb76b1f1a343642c46bbfa2c4a99ae537b22bd9f:/src/state.c diff --git a/src/state.c b/src/state.c index d3460c15..3d310087 100644 --- a/src/state.c +++ b/src/state.c @@ -1,7 +1,6 @@ /* Type definitions for nondeterministic finite state machine for Bison. - Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software - Foundation, Inc. + Copyright (C) 2001-2007, 2009-2010 Free Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -352,7 +351,8 @@ state_hash_free (void) void state_hash_insert (state *s) { - hash_insert (state_table, s); + if (!hash_insert (state_table, s)) + xalloc_die (); }