]> granicus.if.org Git - flex/commitdiff
fixed re Esmond Pitt's ancient suggestion
authorVern Paxson <vern@ee.lbl.gov>
Wed, 27 Sep 1995 12:47:55 +0000 (12:47 +0000)
committerVern Paxson <vern@ee.lbl.gov>
Wed, 27 Sep 1995 12:47:55 +0000 (12:47 +0000)
libmain.c

index 7432ee608a4c429bb2678946a230ce68988d650a..079e1eb6acb79f4a696bc7421734bf257e277b28 100644 (file)
--- a/libmain.c
+++ b/libmain.c
@@ -8,5 +8,8 @@ int main( argc, argv )
 int argc;
 char *argv[];
        {
-       return yylex();
+       while ( yylex() != 0 )
+               ;
+
+       return 0;
        }