aboutsummaryrefslogtreecommitdiff
path: root/devel/re2c/files
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>2001-02-20 22:25:04 +0000
committerEivind Eklund <eivind@FreeBSD.org>2001-02-20 22:25:04 +0000
commitc4e3c399f3c64a3b8f8a3d91ff6c738674ed04c7 (patch)
treef3c48edf2759626aedcf2f4c9ee89dc90d2d2e1b /devel/re2c/files
parent84c5d89a6e04c74aed576d28802154f967b6a162 (diff)
downloadports-c4e3c399f3c64a3b8f8a3d91ff6c738674ed04c7.tar.gz
ports-c4e3c399f3c64a3b8f8a3d91ff6c738674ed04c7.zip
Notes
Diffstat (limited to 'devel/re2c/files')
-rw-r--r--devel/re2c/files/patch-aa13
-rw-r--r--devel/re2c/files/patch-ab20
-rw-r--r--devel/re2c/files/patch-ac72
-rw-r--r--devel/re2c/files/patch-ad13
4 files changed, 0 insertions, 118 deletions
diff --git a/devel/re2c/files/patch-aa b/devel/re2c/files/patch-aa
deleted file mode 100644
index 338eec106e93..000000000000
--- a/devel/re2c/files/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
---- basics.h.orig Thu May 14 16:35:56 1998
-+++ basics.h Thu May 14 16:36:18 1998
-@@ -6,10 +6,6 @@
- //Initial revision
- //
-
--typedef unsigned int bool;
--const bool true = (0 == 0);
--const bool false = (!true);
--
- typedef unsigned int uint;
- typedef unsigned char uchar, byte;
- typedef unsigned short ushort, word;
diff --git a/devel/re2c/files/patch-ab b/devel/re2c/files/patch-ab
deleted file mode 100644
index 3767898c5471..000000000000
--- a/devel/re2c/files/patch-ab
+++ /dev/null
@@ -1,20 +0,0 @@
---- Makefile.orig Fri Apr 15 20:23:55 1994
-+++ Makefile Sun Sep 26 09:42:57 1999
-@@ -15,7 +15,7 @@
- OBJS = code.o dfa.o main.o parser.o actions.o scanner.o substr.o\
- translate.o
-
--CC = gcc
-+CC = c++
- CFLAGS = -O2 -Wall -I.
- YFLAGS = -d
- LDFLAGS =
-@@ -30,7 +30,7 @@
- mv -f y.tab.c parser.cc
-
- re2c: $(OBJS)
-- $(CC) -o $@ $(OBJS) $(LDFLAGS) -lg++
-+ $(CC) -o $@ $(OBJS) $(LDFLAGS) #-lg++
-
- #
- # generated with "gcc -I. -MM -x c++ *.cc *.y *.re"
diff --git a/devel/re2c/files/patch-ac b/devel/re2c/files/patch-ac
deleted file mode 100644
index 0d106870c68b..000000000000
--- a/devel/re2c/files/patch-ac
+++ /dev/null
@@ -1,72 +0,0 @@
---- dfa.cc.old Fri Feb 4 15:18:55 2000
-+++ dfa.cc Fri Feb 4 15:22:57 2000
-@@ -109,6 +109,7 @@
- uint nc = ub - lb;
- GoTo *goTo = new GoTo[nc];
- Span *span = new Span[nc];
-+ uint j;
- memset((char*) goTo, 0, nc*sizeof(GoTo));
- tail = &head;
- head = NULL;
-@@ -123,7 +124,7 @@
- uint nGoTos = 0;
-
- s->rule = NULL;
-- for(iP = s->kernel; i = *iP; ++iP){
-+ for(iP = s->kernel; (i = *iP) != NULL; ++iP){
- if(i->i.tag == CHAR){
- for(Ins *j = i + 1; j < (Ins*) i->i.link; ++j){
- if(!(j->c.link = goTo[j->c.value - lb].to))
-@@ -136,7 +137,7 @@
- }
- }
-
-- for(uint j = 0; j < nGoTos; ++j){
-+ for(j = 0; j < nGoTos; ++j){
- GoTo *go = &goTo[goTo[j].ch - lb];
- i = (Ins*) go->to;
- for(cP = work; i; i = (Ins*) i->c.link)
-@@ -169,7 +170,7 @@
-
- DFA::~DFA(){
- State *s;
-- while(s = head){
-+ while((s = head) != NULL){
- head = s->next;
- delete s;
- }
-@@ -185,11 +186,12 @@
-
- State *DFA::findState(Ins **kernel, uint kCount){
- Ins **cP, **iP, *i;
-+ State *s;
-
- kernel[kCount] = NULL;
-
- cP = kernel;
-- for(iP = kernel; i = *iP; ++iP){
-+ for(iP = kernel; (i = *iP) != NULL; ++iP){
- if(i->i.tag == CHAR || i->i.tag == TERM){
- *cP++ = i;
- } else {
-@@ -199,9 +201,9 @@
- kCount = cP - kernel;
- kernel[kCount] = NULL;
-
-- for(State *s = head; s; s = s->next){
-+ for(s = head; s; s = s->next){
- if(s->kCount == kCount){
-- for(iP = s->kernel; i = *iP; ++iP)
-+ for(iP = s->kernel; (i = *iP) != NULL; ++iP)
- if(!isMarked(i))
- goto nextState;
- goto unmarkAll;
-@@ -218,7 +220,7 @@
- toDo = s;
-
- unmarkAll:
-- for(iP = kernel; i = *iP; ++iP)
-+ for(iP = kernel; (i = *iP) != NULL; ++iP)
- unmark(i);
-
- return s;
diff --git a/devel/re2c/files/patch-ad b/devel/re2c/files/patch-ad
deleted file mode 100644
index 38d2b12c5ab8..000000000000
--- a/devel/re2c/files/patch-ad
+++ /dev/null
@@ -1,13 +0,0 @@
---- actions.cc.old Fri Feb 4 15:23:32 2000
-+++ actions.cc Fri Feb 4 15:24:14 2000
-@@ -460,8 +460,9 @@
-
- void genCode(ostream& o, RegExp *re){
- CharSet cs;
-+ uint j;
- memset(&cs, 0, sizeof(cs));
-- for(uint j = 0; j < nChars; ++j){
-+ for(j = 0; j < nChars; ++j){
- cs.rep[j] = &cs.ptn[0];
- cs.ptn[j].nxt = &cs.ptn[j+1];
- }