$(builddir)/$$f.$$$$ && \
mv $(builddir)/$$f.$$$$ $(builddir)/$$f ; \
done
-
+ # work around flex bug
+ # http://sourceforge.net/tracker/?func=detail&aid=3029024&group_id=97492&atid=618177
+ perl -0777 -p -i -e 's,\n(void|int) ap_expr_yy[gs]et_column.*?\n\},,gs' \
+ $(builddir)/util_expr_scan.c
/** Get the current column number.
* @param yyscanner The scanner object.
*/
-int ap_expr_yyget_column (yyscan_t yyscanner)
-{
- struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
-
- if (! YY_CURRENT_BUFFER)
- return 0;
-
- return yycolumn;
-}
/** Get the input stream.
* @param yyscanner The scanner object.
* @param line_number
* @param yyscanner The scanner object.
*/
-void ap_expr_yyset_column (int column_no , yyscan_t yyscanner)
-{
- struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
-
- /* column is only valid if an input buffer exists. */
- if (! YY_CURRENT_BUFFER )
- yy_fatal_error( "ap_expr_yyset_column called with no buffer" , yyscanner);
-
- yycolumn = column_no;
-}
/** Set the input stream. This does not discard the current
* input buffer.