[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: flex 2.5.13 released
From: |
John Millaway |
Subject: |
Re: flex 2.5.13 released |
Date: |
Thu, 15 Aug 2002 14:33:09 -0700 (PDT) |
> # make mailparse
> flex -d -Caem -8 -Pmail -s mail_lex.l
> make: *** [lex.mail.c] Segmentation fault (core dumped)
This bug has been fixed and committed. Here is the patch:
*** main.c 15 Aug 2002 14:50:10 -0000 2.100
--- main.c 15 Aug 2002 21:23:18 -0000 2.101
*************** void check_options()
*** 410,419 ****
/* Create the alignment type. */
buf_strdefine(&userdef_buf,"YY_INT_ALIGNED",
long_align ? "long int" : "short int");
-
- /* Now map the equivalence class for NUL to its expected place. */
- ecgroup[0] = ecgroup[csize];
- NUL_ec = ABS( ecgroup[0] );
/* Dump the user defined preproc directives. */
if (userdef_buf.elts)
--- 410,415 ----
*************** _( "Variable trailing context rules enta
*** 1666,1671 ****
--- 1662,1671 ----
numecs = cre8ecs( nextecm, ecgroup, csize );
else
numecs = csize;
+
+ /* Now map the equivalence class for NUL to its expected place. */
+ ecgroup[0] = ecgroup[csize];
+ NUL_ec = ABS( ecgroup[0] );
if ( useecs )
ccl2ecl();
-John
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com