mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* 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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user