Blame SOURCES/flex-2.6.0-yyless.patch

159557
Index: b/src/flex.skl
159557
===================================================================
159557
--- a/src/flex.skl
159557
+++ b/src/flex.skl
159557
@@ -494,7 +494,7 @@ m4_ifdef( [[M4_YY_NOT_IN_HEADER]],
159557
      */
159557
     #define  YY_LESS_LINENO(n) \
159557
             do { \
159557
-                int yyl;\
159557
+                yy_size_t yyl;\
159557
                 for ( yyl = n; yyl < yyleng; ++yyl )\
159557
                     if ( yytext[yyl] == '\n' )\
159557
                         --yylineno;\
159557
@@ -520,7 +520,7 @@ m4_ifdef( [[M4_YY_NOT_IN_HEADER]],
159557
 	do \
159557
 		{ \
159557
 		/* Undo effects of setting up yytext. */ \
159557
-        int yyless_macro_arg = (n); \
159557
+        yy_size_t yyless_macro_arg = (n); \
159557
         YY_LESS_LINENO(yyless_macro_arg);\
159557
 		*yy_cp = YY_G(yy_hold_char); \
159557
 		YY_RESTORE_YY_MORE_OFFSET \
159557
@@ -2576,7 +2576,7 @@ void yyFlexLexer::LexerError( yyconst ch
159557
 	do \
159557
 		{ \
159557
 		/* Undo effects of setting up yytext. */ \
159557
-        int yyless_macro_arg = (n); \
159557
+        yy_size_t yyless_macro_arg = (n); \
159557
         YY_LESS_LINENO(yyless_macro_arg);\
159557
 		yytext[yyleng] = YY_G(yy_hold_char); \
159557
 		YY_G(yy_c_buf_p) = yytext + yyless_macro_arg; \