]> git.ozlabs.org Git - petitboot/commit
discover/grub2: Implement parser
authorJeremy Kerr <jk@ozlabs.org>
Tue, 10 Sep 2013 06:04:41 +0000 (14:04 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 24 Sep 2013 05:14:59 +0000 (13:14 +0800)
commit2013dd8075a57e5399f080fa8094cc4b464f35cd
treef55d4ae334bdb2f5ff4a219afa397ca7f0a925ce
parent0ac0cc8dbd8c3687880f3115ae41f9903e9f2333
discover/grub2: Implement parser

Add our simple parser to handle a grub2 script. Since we're not building
a parse tree at the moment (we have no reduce rules), we just have a
simple word-based %union for our tokens.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/grub2/parser.y