From c40c4f4143500eb9300bd8048a184d3a55c59b4a Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Wed, 5 Dec 2012 13:48:15 +0100 Subject: build: fix compilation with current bison 2.6.5.993-06ec --- libmsi/sql-parser.y | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libmsi/sql-parser.y') diff --git a/libmsi/sql-parser.y b/libmsi/sql-parser.y index fe8ff56..0c975f6 100644 --- a/libmsi/sql-parser.y +++ b/libmsi/sql-parser.y @@ -37,7 +37,7 @@ #define YYLEX_PARAM info #define YYPARSE_PARAM info -static int sql_error(const char *str); +static int sql_error(void *info, const char *str); typedef struct LibmsiSQLInput @@ -77,6 +77,7 @@ static struct expr * build_expr_wildcard( void *info ); %} %define api.prefix "sql_" +%parse-param {void *info} %pure-parser %union @@ -866,7 +867,7 @@ INT sql_atoi( void *info ) return r; } -static int sql_error( const char *str ) +static int sql_error(void *info, const char *str ) { return 0; } -- cgit