* doc/bison.texinfo (Calc++ Scanner): Work around a bug in flex

2.5.31.  This resembles the 2005-10-10 patch to src/scan-skel.l.
This commit is contained in:
Paul Eggert
2006-02-08 19:25:38 +00:00
parent 6fc0c02473
commit 7870f699e4
2 changed files with 7 additions and 0 deletions

View File

@@ -7571,6 +7571,10 @@ parser's to get the set of defined tokens.
# include <string>
# include "calc++-driver.hh"
# include "calc++-parser.hh"
/* Work around a bug in flex 2.5.31. See Debian bug 333231
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333231>. */
# undef yywrap
# define yywrap() 1
%@}
@end example