freebsd-ports/devel/cocktail/files/patch-rex-m2c-Nfa.c
Edwin Groothuis 8937ed4066 [PORT UPGRADE] devel/cocktail corrected for 64bits compilation
The orignal port only ran on i386, since there were some
	64bit conversion problems. The included tar file replaces
	the compete devel/cocktail tree currently in the ports tree.

(lots of patches!)

PR:		ports/71940
Submitted by:	Willem Jan Withagen <wjw@withagen.nl>
2004-12-15 04:05:34 +00:00

12 lines
408 B
C

--- /usr/ports/devel/cocktail/work/cocktail-9309//./rex/m2c/Nfa.c Tue Feb 15 14:27:58 1994
+++ ./rex/m2c/Nfa.c Thu Aug 5 18:49:06 2004
@@ -227,7 +227,8 @@
Nfa_TransitionRange t2;
t2 = Nfa_NoTransition;
- while (t1 != Nfa_NoTransition) {
+ while ((t1 != Nfa_NoTransition)
+ &&(t1 != (Nfa_TransitionRange)DEAD_ALLOCATE)){
{
register C_1_Transition *W_3 = &TransitionTablePtr->A[t1];