mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 10:13:03 +00:00
* data/lalr1.cc (yytranslate_): No longer inline.
This commit is contained in:
@@ -3,6 +3,12 @@
|
|||||||
Work around portability problems summarized by Nelson H. F. Beebe in
|
Work around portability problems summarized by Nelson H. F. Beebe in
|
||||||
<http://lists.gnu.org/archive/html/bug-bison/2005-09/msg00021.html>.
|
<http://lists.gnu.org/archive/html/bug-bison/2005-09/msg00021.html>.
|
||||||
|
|
||||||
|
* data/lalr1.cc (yytranslate_): No longer inline, to work around a
|
||||||
|
porting problem to g++ 3.4.3 on Darwin 7.9.0, where g++ complained
|
||||||
|
"warning: sorry: semantics of inline function static data `const
|
||||||
|
unsigned char translate_table[262]' are wrong (you'll wind up with
|
||||||
|
multiple copies)".
|
||||||
|
|
||||||
* lib/bbitset.h (struct bitset_vtable): Rename members not, and,
|
* lib/bbitset.h (struct bitset_vtable): Rename members not, and,
|
||||||
or, xor to not_, and_, or_, and xor_, respectively. This works
|
or, xor to not_, and_, or_, and xor_, respectively. This works
|
||||||
around a bug in GCC 3.4.3 on Irix 6.5, which apparently has a
|
around a bug in GCC 3.4.3 on Irix 6.5, which apparently has a
|
||||||
|
|||||||
@@ -248,7 +248,7 @@ b4_error_verbose_if([, int tok])[);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/// Convert a scanner token number to a symbol number.
|
/// Convert a scanner token number to a symbol number.
|
||||||
inline token_number_type yytranslate_ (int token);
|
token_number_type yytranslate_ (int token);
|
||||||
|
|
||||||
/// \brief Reclaim the memory associated to a symbol.
|
/// \brief Reclaim the memory associated to a symbol.
|
||||||
/// \param yymsg Why this token is reclaimed.
|
/// \param yymsg Why this token is reclaimed.
|
||||||
|
|||||||
Reference in New Issue
Block a user