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:
Jannick
2018-11-20 22:02:20 +01:00
committed by Akim Demaille
parent 7795db64d1
commit bee10f5774

View File

@@ -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__