File xtexcad-2.4-flex.patch of Package texcad

--- yyscan.l	1996-12-15 20:04:23.000000000 +0100
+++ yyscan.l	2004-08-24 12:15:08.000000000 +0200
@@ -35,8 +35,6 @@
 #include "objects.h"
 #include "yyscan.h"
 
-#define yywrap() 1
-
 float yyfloatval;		/* value of a TOK_FLOAT */
 char yystrval[MAX_TEXT_LEN+1];	/* text of a text argument or align argument */
 Unit yyunit;			/* value of a TOK_UNIT */
@@ -66,6 +64,9 @@
 
 %}
 
+%option nounput
+%option noyywrap
+%option noyymore
 
 %s  inPictEnv  inPut  lookOut
 
openSUSE Build Service is sponsored by