From: Jeremy Kerr Date: Tue, 3 Dec 2013 07:14:53 +0000 (+0800) Subject: discover/grub2: Fixes for bison 3.x X-Git-Tag: v1.0.0~294 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=4d411d31deff5c4b2ad7d1689a9219c649843875;hp=4d411d31deff5c4b2ad7d1689a9219c649843875 discover/grub2: Fixes for bison 3.x 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 ---