]> granicus.if.org Git - flex/commitdiff
Dump promotion of EOF in section 2 to turn on section 3; instead
authorVern Paxson <vern@ee.lbl.gov>
Wed, 25 Aug 1993 16:40:25 +0000 (16:40 +0000)
committerVern Paxson <vern@ee.lbl.gov>
Wed, 25 Aug 1993 16:40:25 +0000 (16:40 +0000)
 just treat it like a final EOF

yylex.c

diff --git a/yylex.c b/yylex.c
index 2f6ff679167a5bb361fd195820df0bcf4116491a..879ad9e72c41ee808f951fd30b950fbd5d7a0495 100644 (file)
--- a/yylex.c
+++ b/yylex.c
@@ -59,12 +59,6 @@ int yylex()
                        toktype = SECTEND;
                        }
 
-               else if ( sectnum == 2 )
-                       {
-                       sectnum = 3;
-                       toktype = 0;
-                       }
-
                else
                        toktype = 0;
                }