]> git.saurik.com Git - bison.git/blobdiff - src/scan-gram.l
Work around portability problems with Visual Age C compiler
[bison.git] / src / scan-gram.l
index 1b44f5137a9bded1bc90c9e9894ac43ad2dadfc5..70d56ee90ec48f11d13968fe2b32b68dbdd1a9f1 100644 (file)
 %option prefix="gram_" outfile="lex.yy.c"
 
 %{
+/* Work around a bug in flex 2.5.31.  See Debian bug 333231
+   <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333231>.  */
+#undef gram_wrap
+#define gram_wrap() 1
+
 #include "system.h"
 
 #include <mbswidth.h>