add options noinput and noyywrap -- Alexandr Shadchin
Index: map_scan.l =================================================================== RCS file: /cvs/src/sbin/wsconsctl/map_scan.l,v retrieving revision 1.3 diff -u -p -r1.3 map_scan.l --- map_scan.l 26 Jun 2008 05:42:06 -0000 1.3 +++ map_scan.l 13 Jul 2012 23:07:16 -0000 @@ -38,8 +38,6 @@ #include "wsconsctl.h" #include "y.tab.h" -#define yywrap() 1 - void map_scan_setinput(str) char *str; @@ -48,6 +46,9 @@ map_scan_setinput(str) } %} + +%option noyywrap +%option noinput %%