libaacs | branch: master | Stephan Raue <[email protected]> | Sun Feb 24 13:09:03 2013 +0200| [5052152c235195f5fa780d0aafcb3053fe3b4ec8] | committer: npzacs
support bison-2.6 Patch grabbed from OpenELEC.tv > http://git.videolan.org/gitweb.cgi/libaacs.git/?a=commit;h=5052152c235195f5fa780d0aafcb3053fe3b4ec8 --- src/file/keydbcfg-parser.y | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/file/keydbcfg-parser.y b/src/file/keydbcfg-parser.y index 11a902b..2aff6d3 100644 --- a/src/file/keydbcfg-parser.y +++ b/src/file/keydbcfg-parser.y @@ -1,4 +1,8 @@ -%{ +%code requires { +#include "file/keydbcfg.h" +} + +%code { /* * This file is part of libaacs * Copyright (C) 2010 gates @@ -18,7 +22,6 @@ * <http://www.gnu.org/licenses/>. */ -#include "file/keydbcfg.h" #include "util/macro.h" #include <stdio.h> @@ -85,7 +88,7 @@ extern int libaacs_yyget_lineno (void *scanner); /* uncomment the line below for debugging */ // int yydebug = 1; -%} +} /* Options set to generate a reentrant parser that is POSIX yacc compatible * The basic 'scanner' parameters are set. Also, another parameter is set * to pass in a title entry list struct used to hold all title entries. _______________________________________________ libaacs-devel mailing list [email protected] http://mailman.videolan.org/listinfo/libaacs-devel
