From 7870f699e463b4e104bfad258146787ec07c8f12 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 8 Feb 2006 19:25:38 +0000 Subject: [PATCH] * 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. --- ChangeLog | 3 +++ doc/bison.texinfo | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index f3d84ba2..982e1761 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/doc/bison.texinfo b/doc/bison.texinfo index c004a842..35b978af 100644 --- a/doc/bison.texinfo +++ b/doc/bison.texinfo @@ -7571,6 +7571,10 @@ parser's to get the set of defined tokens. # include # include "calc++-driver.hh" # include "calc++-parser.hh" +/* Work around a bug in flex 2.5.31. See Debian bug 333231 + . */ +# undef yywrap +# define yywrap() 1 %@} @end example -- 2.45.2