diff options
author | nate <nate@FreeBSD.org> | 1996-06-19 20:26:48 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1996-06-19 20:26:48 +0000 |
commit | d87c52cefcc92d3acc9a07da8e73d12269410392 (patch) | |
tree | 0b43887fc65a77a49d5aad0227a443a1a24388f9 /usr.bin/lex/lib | |
parent | 6f8d85f397a23dd354fdafb96ec16e3f40f38a7a (diff) | |
parent | abbed305c8e8895872ce349162f13c0c3649cee7 (diff) | |
download | FreeBSD-src-d87c52cefcc92d3acc9a07da8e73d12269410392.zip FreeBSD-src-d87c52cefcc92d3acc9a07da8e73d12269410392.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r16514,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'usr.bin/lex/lib')
-rw-r--r-- | usr.bin/lex/lib/libmain.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/lex/lib/libmain.c b/usr.bin/lex/lib/libmain.c index a893c7a..6c43b08 100644 --- a/usr.bin/lex/lib/libmain.c +++ b/usr.bin/lex/lib/libmain.c @@ -1,6 +1,6 @@ /* libmain - flex run-time support library "main" function */ -/* $Header: /home/daffy/u0/vern/flex/RCS/libmain.c,v 1.3 93/04/14 22:41:55 vern Exp $ */ +/* $Header: /home/daffy/u0/vern/flex/RCS/libmain.c,v 1.4 95/09/27 12:47:55 vern Exp $ */ extern int yylex(); @@ -8,5 +8,8 @@ int main( argc, argv ) int argc; char *argv[]; { - return yylex(); + while ( yylex() != 0 ) + ; + + return 0; } |