Article View: comp.sources.bugs
Article #412flex 2.3 patch #6
From: Vern Paxson
Date: Wed, 29 Aug 1990 19:25
Date: Wed, 29 Aug 1990 19:25
56 lines
2054 bytes
2054 bytes
This patch fixes a serious bug in yymore().
Vern
*** Patch-5/Changes Thu Aug 16 17:22:16 1990
--- Patch-6/Changes Wed Aug 29 12:11:34 1990
***************
*** 1,3 ****
--- 1,11 ----
+ Changes between 2.3 Patch #6 (29Aug90) and 2.3 Patch #5:
+
+ - Fixed a serious bug in yymore() which basically made it
+ completely broken. Thanks goes to Jean Christophe of
+ the Nethack development team for finding the problem
+ and passing along the fix.
+
+
Changes between 2.3 Patch #5 (16Aug90) and 2.3 Patch #4:
- An up-to-date version of initscan.c so "make test" will
*** Original/gen.c Wed Jun 27 21:44:28 1990
--- Patch-6/gen.c Wed Aug 29 12:11:25 1990
***************
*** 28,34 ****
#ifndef lint
static char rcsid[] =
! "@(#) $Header: /usr/fsys/odin/a/vern/flex/RCS/gen.c,v 2.9 90/06/27 23:48:22 vern Exp $ (LBL)";
#endif
#include "flexdef.h"
--- 28,34 ----
#ifndef lint
static char rcsid[] =
! "@(#) $Header: /usr/helios/u0/vern/flex/RCS/gen.c,v 2.10 90/08/29 12:11:13 vern Exp $ (LBL)";
#endif
#include "flexdef.h"
***************
*** 1198,1203 ****
--- 1198,1204 ----
if ( yymore_used )
{
+ indent_puts( "yy_more_len = 0;" );
indent_puts( "yy_doing_yy_more = yy_more_flag;" );
indent_puts( "if ( yy_doing_yy_more )" );
indent_up();
--
Vern Paxson vern@csam.lbl.gov [lbl-csam.arpa]
Real Time Systems ucbvax!csam.lbl.gov!vern
Lawrence Berkeley Laboratory (415) 486-6580
Technical Details
Message-ID:
<6721@dog.ee.lbl.gov>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!dog.ee.lbl.gov!surf.ee.lbl.gov!vernShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucsd!dog.ee.lbl.gov!surf.ee.lbl.gov!vern From: vern@surf.ee.lbl.gov (Vern Paxson) Newsgroups: comp.sources.bugs Subject: flex 2.3 patch #6 Summary: fixes grievous bug in yymore() Keywords: flex, lex replacement Message-ID: <6721@dog.ee.lbl.gov> Date: 29 Aug 90 19:25:38 GMT Sender: usenet@dog.ee.lbl.gov Followup-To: comp.sources.bugs Organization: Lawrence Berkeley Laboratory, Berkeley Lines: 56 X-Local-Date: Wed, 29 Aug 90 12:25:39 PDT