From b21e8a0e21a5313dce814e63106414ef5829619b Mon Sep 17 00:00:00 2001 From: Dave Beckett Date: Sun, 20 Apr 2014 15:21:30 -0700 Subject: Define FLEX_VERSION_DECIMAL and use to not duplicate column prototypes. --- src/turtle_lexer.l | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/turtle_lexer.l b/src/turtle_lexer.l index ad12f1c4..8984a6d8 100644 --- a/src/turtle_lexer.l +++ b/src/turtle_lexer.l @@ -126,11 +126,13 @@ const char * turtle_token_print(raptor_world* world, int token, YYSTYPE *lval); #endif +#if FLEX_VERSION_DECIMAL < 20536 /* debian flex 2.5.35-10.1 added these column header prototypes in * re-entrant mode. standard flex omits them */ void turtle_lexer_set_column(int column_no, yyscan_t yyscanner); int turtle_lexer_get_column(yyscan_t yyscanner); +#endif static void turtle_lexer_cleanup(yyscan_t yyscanner); -- cgit v1.2.1