freebsd-ports/graphics/xtexcad/files/patch-yyscan.l
Martin Wilke 701337dbd4 - Unbreak build on current
PR:		179584
Submitted by:	Ports Fury
2013-06-27 06:57:29 +00:00

21 lines
399 B
Text

--- yyscan.l.orig
+++ yyscan.l
@@ -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