yywrap is only needed if we need one lexer context to traverse multiple
input files. This feature isn't used by Thrift, so we disable it with
"option noyywrap". With yywrap disabled, there is no need to link to
libfl if flex is the lex implementation used.
With this patch, release tarballs can be built without lex.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991254
13f79535-47bb-0310-9956-
ffa450edef68
*/
%option lex-compat
+/**
+ * Our inputs are all single files, so no need for yywrap
+ */
+%option noyywrap
+
/**
* Helper definitions, comments, constants, and whatnot
*/