Files
MSYS2-packages/flex/2.5.37-pr3552806.patch
2013-11-02 09:41:31 +04:00

26 lines
853 B
Diff

http://sourceforge.net/tracker/?func=detail&aid=3552806&group_id=97492&atid=618177
http://flex.git.sourceforge.net/git/gitweb.cgi?p=flex/flex;a=patch;h=c53fd2d
--- a/flex.skl
+++ b/flex.skl
@@ -2360,7 +2360,7 @@ YY_BUFFER_STATE yy_scan_bytes YYFARGS2( yyconst char *,yybytes, yy_size_t ,_yyb
YY_BUFFER_STATE b;
char *buf;
yy_size_t n;
- int i;
+ yy_size_t i;
m4_dnl M4_YY_DECL_GUTS_VAR();
/* Get memory for full buffer, including space for trailing EOB's. */
--- a/gen.c
+++ b/gen.c
@@ -1972,7 +1972,7 @@ void make_tables ()
("if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] )");
indent_up ();
indent_puts ("{");
- indent_puts ("int yyl;");
+ indent_puts ("yy_size_t yyl;");
do_indent ();
out_str ("for ( yyl = %s; yyl < yyleng; ++yyl )\n",
yymore_used ? (yytext_is_array ? "YY_G(yy_prev_more_offset)" :