aboutsummaryrefslogtreecommitdiffstats
path: root/devel/re2c/files/patch-aa
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>1998-05-16 17:41:25 +0000
committerEivind Eklund <eivind@FreeBSD.org>1998-05-16 17:41:25 +0000
commita070b1eb31cc709a88890332509e5c4db3d02f46 (patch)
tree5132f9dd81850f443de1532d60f2add27773d549 /devel/re2c/files/patch-aa
parent7974511db03fa6d6351d5d12dfc5d6ab15cca5fa (diff)
Initial import of re2c, a program to compile regular expression to C.
This is basically the same concept as lex, except this time it doesn't turn your code inside out, and it generates actual C code to parse the expressions (not tables), and the resulting code is usually about 2 times faster than flex.
Diffstat (limited to 'devel/re2c/files/patch-aa')
-rw-r--r--devel/re2c/files/patch-aa13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/re2c/files/patch-aa b/devel/re2c/files/patch-aa
new file mode 100644
index 000000000000..338eec106e93
--- /dev/null
+++ b/devel/re2c/files/patch-aa
@@ -0,0 +1,13 @@
+--- 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;