From fd1d6538b368cbea75a1c625e2928a843dadf511 Mon Sep 17 00:00:00 2001 From: John Millaway Date: Tue, 17 Dec 2002 23:53:06 +0000 Subject: [PATCH] Fixed bug submitted by Bojan Smojver where the use of yylineno, reentrant, and yymore together caused a compile-time error. --- gen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen.c b/gen.c index 796bbfc..398f76e 100644 --- a/gen.c +++ b/gen.c @@ -1985,7 +1985,7 @@ void make_tables () indent_puts ("{"); indent_puts ("int yyl;"); do_indent (); - out_str ("for ( yyl = %s; yyl < yyleng; ++yyl )\n", + out_str ("for ( yyl = YY_G(%s); yyl < yyleng; ++yyl )\n", yymore_used ? (yytext_is_array ? "yy_prev_more_offset" : "yy_more_len") : "0"); indent_up (); -- 2.40.0