X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/41d7a5f24d5e69bdf6ce10c012d50b89ce1e3957..e3fd1dcb8b0b55525876440410f71791d8b4c2f3:/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;