discover/grub2: Fixes for bison 3.x
authorJeremy Kerr <jk@ozlabs.org>
Tue, 3 Dec 2013 07:14:53 +0000 (15:14 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 3 Dec 2013 07:14:53 +0000 (15:14 +0800)
YYLEX_PARAM is removed in bison 3.0, so we need to pass the scanner
param directly through yyparse (rather than referencing
parser->scanner). Unfortunately, we don't have the lexer header
available at the time we declare yyparse, so we need to pass a void *
here.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

No differences found