X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/41d7a5f24d5e69bdf6ce10c012d50b89ce1e3957..f6b561d9f9cbc6fc95bbb86518372a5cb52f45a6:/src/reduce.h diff --git a/src/reduce.h b/src/reduce.h index aaa2bab1..c28824f1 100644 --- a/src/reduce.h +++ b/src/reduce.h @@ -1,6 +1,7 @@ /* Grammar reduction for Bison. - Copyright (C) 2000, 2001, 2002, 2007 Free Software Foundation, Inc. + Copyright (C) 2000-2002, 2007, 2009-2012 Free Software Foundation, + Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -22,7 +23,8 @@ void reduce_grammar (void); void reduce_output (FILE *out); -void reduce_xml (FILE *out, int level); +bool reduce_token_unused_in_grammar (symbol_number i); +bool reduce_nonterminal_useless_in_grammar (symbol_number i); void reduce_free (void); extern symbol_number nuseless_nonterminals;