View | Details | Raw Unified
Collapse All | Expand All

(-) contrib/tsearch/parser.l.orig (+9 lines)
 Lines 9-14    Link Here 
/* flex screws a couple symbols when used with the -P option; fix those */
/* flex screws a couple symbols when used with the -P option; fix those */
#ifndef YY_PROTO
#define YY_PROTO(proto) proto
#endif
#define YY_DECL int cube_yylex YY_PROTO(( void )); \
#define YY_DECL int cube_yylex YY_PROTO(( void )); \
int cube_yylex YY_PROTO(( void ))
int cube_yylex YY_PROTO(( void ))
#define yylval cube_yylval
#define yylval cube_yylval
 Lines 9-14    Link Here 
/* flex screws a couple symbols when used with the -P option; fix those */
/* flex screws a couple symbols when used with the -P option; fix those */
#ifndef YY_PROTO
#define YY_PROTO(proto) proto
#endif
#define YY_DECL int seg_yylex YY_PROTO(( void )); \
#define YY_DECL int seg_yylex YY_PROTO(( void )); \
int seg_yylex YY_PROTO(( void ))
int seg_yylex YY_PROTO(( void ))
#define yylval seg_yylval
#define yylval seg_yylval
 Lines 18-23    Link Here 
char *s     = NULL;  /* to return WHOLE hyphenated-word */
char *s     = NULL;  /* to return WHOLE hyphenated-word */
YY_BUFFER_STATE buf = NULL; /* buffer to parse; it need for parse from string */
YY_BUFFER_STATE buf = NULL; /* buffer to parse; it need for parse from string */
static YY_BUFFER_STATE yy_current_buffer = 0;
int lrlimit = -1;	/* for limiting read from filehandle ( -1 - unlimited read ) */
int lrlimit = -1;	/* for limiting read from filehandle ( -1 - unlimited read ) */
int bytestoread = 0;	/* for limiting read from filehandle */
int bytestoread = 0;	/* for limiting read from filehandle */