nixpkgs/pkgs/os-specific/gnu/mig/noyywrap.patch
Ludovic Courtès 9055a9b803 GNU MIG: Add the `noyywrap' option for Flex.
svn path=/nixpkgs/trunk/; revision=27494
2011-06-18 16:36:17 +00:00

12 lines
203 B
Diff

Fix undefined reference to `yywrap'.
diff --git a/lexxer.l b/lexxer.l
index 9725d0b..15264bc 100644
--- a/lexxer.l
+++ b/lexxer.l
@@ -1,4 +1,5 @@
%option nounput
+%option noyywrap
%k 10000
%n 5000