diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2004-06-01 09:41:36 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2004-06-01 09:41:36 +0000 |
commit | 9533c2887510307a633f74dc6bad9204d90ce6d9 (patch) | |
tree | 98bfc8278f0fc537024c1933e4d6a97710778777 /devel/re2c/files | |
parent | 9775565a73b5fa431632c792140f6acf5bb3a307 (diff) | |
download | ports-9533c2887510307a633f74dc6bad9204d90ce6d9.tar.gz ports-9533c2887510307a633f74dc6bad9204d90ce6d9.zip |
Notes
Diffstat (limited to 'devel/re2c/files')
-rw-r--r-- | devel/re2c/files/patch-action.cc | 10 | ||||
-rw-r--r-- | devel/re2c/files/patch-scanner.h | 15 | ||||
-rw-r--r-- | devel/re2c/files/patch-scanner.re | 94 | ||||
-rw-r--r-- | devel/re2c/files/patch-substr.h | 10 |
4 files changed, 20 insertions, 109 deletions
diff --git a/devel/re2c/files/patch-action.cc b/devel/re2c/files/patch-action.cc new file mode 100644 index 000000000000..71c6b0393065 --- /dev/null +++ b/devel/re2c/files/patch-action.cc @@ -0,0 +1,10 @@ +--- actions.cc.orig Tue Jun 1 17:31:44 2004 ++++ actions.cc Tue Jun 1 17:32:05 2004 +@@ -1,6 +1,7 @@ + /* $Id: actions.cc,v 1.5 2004/05/13 02:58:17 nuffer Exp $ */ + #include <time.h> + #include <string.h> ++#include <ctype.h> + #include <iostream> + #include <iomanip> + diff --git a/devel/re2c/files/patch-scanner.h b/devel/re2c/files/patch-scanner.h deleted file mode 100644 index a2a6dc2f5c33..000000000000 --- a/devel/re2c/files/patch-scanner.h +++ /dev/null @@ -1,15 +0,0 @@ ---- ./scanner.h.orig Thu Aug 26 23:46:32 1999 -+++ ./scanner.h Sat Oct 5 13:27:00 2002 -@@ -6,10 +6,10 @@ - class Scanner { - private: - int in; -- uchar *bot, *tok, *ptr, *cur, *pos, *lim, *top, *eof; -+ char *bot, *tok, *ptr, *cur, *pos, *lim, *top, *eof; - uint tchar, tline, cline; - private: -- uchar *fill(uchar*); -+ char *fill(char*); - public: - Scanner(int); - int echo(ostream&); diff --git a/devel/re2c/files/patch-scanner.re b/devel/re2c/files/patch-scanner.re deleted file mode 100644 index 368207c1286f..000000000000 --- a/devel/re2c/files/patch-scanner.re +++ /dev/null @@ -1,94 +0,0 @@ ---- ./scanner.re.orig Thu Aug 26 23:46:32 1999 -+++ ./scanner.re Sat Oct 5 13:27:00 2002 -@@ -10,7 +10,7 @@ - - #define BSIZE 8192 - --#define YYCTYPE uchar -+#define YYCTYPE char - #define YYCURSOR cursor - #define YYLIMIT lim - #define YYMARKER ptr -@@ -25,7 +25,7 @@ - ; - } - --uchar *Scanner::fill(uchar *cursor){ -+char *Scanner::fill(char *cursor){ - if(!eof){ - uint cnt = tok - bot; - if(cnt){ -@@ -37,7 +37,7 @@ - lim -= cnt; - } - if((top - lim) < BSIZE){ -- uchar *buf = new uchar[(lim - bot) + BSIZE]; -+ char *buf = new char[(lim - bot) + BSIZE]; - memcpy(buf, tok, lim - tok); - tok = buf; - ptr = &buf[ptr - bot]; -@@ -68,7 +68,7 @@ - */ - - int Scanner::echo(ostream &out){ -- uchar *cursor = cur; -+ char *cursor = cur; - tok = cursor; - echo: - /*!re2c -@@ -85,7 +85,7 @@ - - - int Scanner::scan(){ -- uchar *cursor = cur; -+ char *cursor = cur; - uint depth; - - scan: ---- ./scanner.cc.orig Thu Aug 26 23:46:32 1999 -+++ ./scanner.cc Sat Oct 5 13:27:00 2002 -@@ -12,7 +12,7 @@ - - #define BSIZE 8192 - --#define YYCTYPE uchar -+#define YYCTYPE char - #define YYCURSOR cursor - #define YYLIMIT lim - #define YYMARKER ptr -@@ -27,7 +27,7 @@ - ; - } - --uchar *Scanner::fill(uchar *cursor){ -+char *Scanner::fill(char *cursor){ - if(!eof){ - uint cnt = tok - bot; - if(cnt){ -@@ -39,7 +39,7 @@ - lim -= cnt; - } - if((top - lim) < BSIZE){ -- uchar *buf = new uchar[(lim - bot) + BSIZE]; -+ char *buf = new char[(lim - bot) + BSIZE]; - memcpy(buf, tok, lim - tok); - tok = buf; - ptr = &buf[ptr - bot]; -@@ -62,7 +62,7 @@ - - - int Scanner::echo(ostream &out){ -- uchar *cursor = cur; -+ char *cursor = cur; - tok = cursor; - echo: - { -@@ -117,7 +117,7 @@ - - - int Scanner::scan(){ -- uchar *cursor = cur; -+ char *cursor = cur; - uint depth; - - scan: diff --git a/devel/re2c/files/patch-substr.h b/devel/re2c/files/patch-substr.h new file mode 100644 index 000000000000..b1ece44a71fd --- /dev/null +++ b/devel/re2c/files/patch-substr.h @@ -0,0 +1,10 @@ +--- substr.h.orig Thu May 13 10:58:18 2004 ++++ substr.h Tue Jun 1 17:31:18 2004 +@@ -2,6 +2,7 @@ + #ifndef _substr_h + #define _substr_h + ++#include <sys/types.h> + #include <iostream> + #include "basics.h" + |