diff options
author | thegeorg <thegeorg@yandex-team.com> | 2024-06-29 21:48:22 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2024-06-29 21:59:59 +0300 |
commit | b21e05a2e32e36ae9cc9826acf98084ca4b52d7d (patch) | |
tree | 20d654fb0156f50e150944fc8108a3cada8ca6ec /contrib/tools/bison/src/reduce.h | |
parent | 0cf48e974f5542c3e65398c01b9b6baf8aa6c260 (diff) | |
download | ydb-b21e05a2e32e36ae9cc9826acf98084ca4b52d7d.tar.gz |
Update contrib/tools/bison to 3.3.2
6215035f251de2d87363064fb4f07a2b14a3b4c8
Diffstat (limited to 'contrib/tools/bison/src/reduce.h')
-rw-r--r-- | contrib/tools/bison/src/reduce.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/tools/bison/src/reduce.h b/contrib/tools/bison/src/reduce.h index b1baa892bf..9814962d76 100644 --- a/contrib/tools/bison/src/reduce.h +++ b/contrib/tools/bison/src/reduce.h @@ -1,6 +1,6 @@ /* Grammar reduction for Bison. - Copyright (C) 2000-2002, 2007, 2009-2015, 2018 Free Software + Copyright (C) 2000-2002, 2007, 2009-2015, 2018-2019 Free Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -32,6 +32,11 @@ bool reduce_nonterminal_useless_in_grammar (const sym_content *sym); void reduce_free (void); +/** Map initial nterm numbers to the new ones. Built by + * reduce_grammar. Size nvars + nuseless_nonterminals. */ +extern symbol_number *nterm_map; + extern unsigned nuseless_nonterminals; extern unsigned nuseless_productions; + #endif /* !REDUCE_H_ */ |