diff options
author | millaway <millaway> | 2002-12-17 23:53:06 +0000 |
---|---|---|
committer | millaway <millaway> | 2002-12-17 23:53:06 +0000 |
commit | 59c9f375495c434de342b040ebb93f2676b813fc (patch) | |
tree | cfeb78d4a08212264e90dc477b433e9994cdba05 /gen.c | |
parent | 2e25313ba94d8cf3d3678e9026fb146114b7aa1c (diff) | |
download | flex-59c9f375495c434de342b040ebb93f2676b813fc.tar.gz |
Fixed bug submitted by Bojan Smojver <bojan@rexursive.com> where the use of
yylineno, reentrant, and yymore together caused a compile-time error.
Diffstat (limited to 'gen.c')
-rw-r--r-- | gen.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 (); |