]> granicus.if.org Git - flex/commitdiff
unput() bug fix
authorVern Paxson <vern@ee.lbl.gov>
Sat, 30 Dec 1989 15:33:47 +0000 (15:33 +0000)
committerVern Paxson <vern@ee.lbl.gov>
Sat, 30 Dec 1989 15:33:47 +0000 (15:33 +0000)
flex.skl

index 54e9dedf558d619e4256bb61d577b940766fc840..32d118b56fdb3a1692eef88b116af606155ebc1c 100644 (file)
--- a/flex.skl
+++ b/flex.skl
@@ -411,6 +411,7 @@ register char *yy_bp;
 
        yy_cp += dest - source;
        yy_bp += dest - source;
+       yy_n_chars = YY_BUF_SIZE;
 
        if ( yy_cp < yy_ch_buf + 2 )
            YY_FATAL_ERROR( "flex scanner push-back overflow" );