mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
doc: calc++: remove ancient fix for flex
* doc/bison.texi (Calc++ Scanner): Remove fix for Flex 2.5.31-2.5.33.
This commit is contained in:
@@ -11821,12 +11821,6 @@ then the parser's to get the set of defined tokens.
|
|||||||
@comment file: calc++/scanner.ll
|
@comment file: calc++/scanner.ll
|
||||||
@example
|
@example
|
||||||
%@{
|
%@{
|
||||||
// Work around an incompatibility in flex (at least versions 2.5.31 through
|
|
||||||
// 2.5.33): it generates code that does not conform to C89. See Debian bug
|
|
||||||
// 333231 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333231>.
|
|
||||||
# undef yywrap
|
|
||||||
# define yywrap() 1
|
|
||||||
|
|
||||||
// Pacify warnings in yy_init_buffer (observed with Flex 2.6.4)
|
// Pacify warnings in yy_init_buffer (observed with Flex 2.6.4)
|
||||||
// and GCC 6.4.0, 7.3.0.
|
// and GCC 6.4.0, 7.3.0.
|
||||||
#if defined __GNUC__ && !defined __clang__ && 6 <= __GNUC__
|
#if defined __GNUC__ && !defined __clang__ && 6 <= __GNUC__
|
||||||
|
|||||||
Reference in New Issue
Block a user