aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/openfts/files/patch-flexparser.l
blob: 957d34d162f616a4ad75da58bacb865356240b6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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 ) \