aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/openfts/files/patch-flexparser.l
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/openfts/files/patch-flexparser.l')
-rw-r--r--textproc/openfts/files/patch-flexparser.l11
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/openfts/files/patch-flexparser.l b/textproc/openfts/files/patch-flexparser.l
new file mode 100644
index 000000000000..957d34d162f6
--- /dev/null
+++ b/textproc/openfts/files/patch-flexparser.l
@@ -0,0 +1,11 @@
+--- OpenFTS/flexparser.l.orig 2010-05-23 01:15:15.558693826 +0900
++++ OpenFTS/flexparser.l 2010-05-23 01:15:51.544638807 +0900
+@@ -15,7 +15,7 @@
+
+ /* redefine macro for read limited length */
+ #define YY_INPUT(buf,result,max_size) \
+- if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) { \
++ if ( yy_current_buffer->yy_is_interactive ) { \
+ int c = '*', n; \
+ for ( n = 0; n < max_size && \
+ (c = getc( fts_yyin )) != EOF && c != '\n'; ++n ) \