* 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

@@ -2,6 +2,9 @@
More portability fixes for problems summarized by Nelson H. F. Beebe.
* 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.
* examples/calc++/Makefile.am (check_PROGRAMS): Renamed from
nodist_PROGRAMS, since we don't need to actually compile the
example if we're just doing a plain 'make'. This avoids bothering

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