X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/36b5e963e6a0d2992831ab8635963e75ac36671e..9b33de72cd2469bedac2b5f0a48a8782571ea9db:/src/LR0.c diff --git a/src/LR0.c b/src/LR0.c index 2cba955a..945d41f8 100644 --- a/src/LR0.c +++ b/src/LR0.c @@ -1,7 +1,7 @@ /* Generate the nondeterministic finite state machine for Bison. - Copyright (C) 1984, 1986, 1989, 2000, 2001, 2002, 2004, 2005 Free - Software Foundation, Inc. + Copyright (C) 1984, 1986, 1989, 2000, 2001, 2002, 2004, 2005, 2006 + Free Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -24,6 +24,7 @@ /* See comments in state.h for the data structures that represent it. The entry point is generate_states. */ +#include #include "system.h" #include @@ -281,7 +282,7 @@ save_reductions (state *s) if (r == 0) { /* This is "reduce 0", i.e., accept. */ - assert (!final_state); + aver (!final_state); final_state = s; } }