summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/flex/flex-yytext.patch
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-03-13 21:49:06 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-03-13 21:49:06 (GMT)
commitff3e0d4dd1ba9399dee4f4d750b182b1a7ec2bcb (patch)
treef778cbea3addffd031149bcc26a39c4fddb4f8c2 /abs/core-testing/flex/flex-yytext.patch
parent01b43374bedce480c7389c550d074f209c2e1df0 (diff)
downloadlinhes_pkgbuild-ff3e0d4dd1ba9399dee4f4d750b182b1a7ec2bcb.zip
linhes_pkgbuild-ff3e0d4dd1ba9399dee4f4d750b182b1a7ec2bcb.tar.gz
linhes_pkgbuild-ff3e0d4dd1ba9399dee4f4d750b182b1a7ec2bcb.tar.bz2
Adding flex
Diffstat (limited to 'abs/core-testing/flex/flex-yytext.patch')
-rw-r--r--abs/core-testing/flex/flex-yytext.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/abs/core-testing/flex/flex-yytext.patch b/abs/core-testing/flex/flex-yytext.patch
new file mode 100644
index 0000000..27cfaa4
--- /dev/null
+++ b/abs/core-testing/flex/flex-yytext.patch
@@ -0,0 +1,22 @@
+diff -Naur flex-2.5.31-orig/flex.skl flex-2.5.31/flex.skl
+--- flex-2.5.31-orig/flex.skl 2003-03-31 17:51:38.000000000 -0800
++++ flex-2.5.31/flex.skl 2004-04-11 12:19:10.000000000 -0700
+@@ -3280,7 +3280,6 @@
+ #undef yy_set_bol
+ #undef yy_new_buffer
+ #undef yy_set_interactive
+-#undef yytext_ptr
+ #undef YY_DO_BEFORE_ACTION
+
+ #ifdef YY_DECL_IS_OURS
+diff -Naur flex-2.5.31-orig/gen.c flex-2.5.31/gen.c
+--- flex-2.5.31-orig/gen.c 2003-03-30 11:58:44.000000000 -0800
++++ flex-2.5.31/gen.c 2004-04-11 12:19:38.000000000 -0700
+@@ -1812,7 +1812,6 @@
+ if (yytext_is_array) {
+ if (!reentrant){
+ indent_puts ("static int yy_more_offset = 0;");
+- }else{
+ indent_puts ("static int yy_prev_more_offset = 0;");
+ }
+ }