]> git.ozlabs.org Git - petitboot/commit
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)
commit4d411d31deff5c4b2ad7d1689a9219c649843875
treeaa86ab9a2cd3c84872e53eeea736997535f11b44
parent9de5d31f93dab36cfb451e9ad724d47311b54424
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 <jk@ozlabs.org>
discover/grub2/grub2.c
discover/grub2/parser.y