mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 00:33:03 +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.
|
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
|
* examples/calc++/Makefile.am (check_PROGRAMS): Renamed from
|
||||||
nodist_PROGRAMS, since we don't need to actually compile the
|
nodist_PROGRAMS, since we don't need to actually compile the
|
||||||
example if we're just doing a plain 'make'. This avoids bothering
|
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 <string>
|
||||||
# include "calc++-driver.hh"
|
# include "calc++-driver.hh"
|
||||||
# include "calc++-parser.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
|
@end example
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user