]> git.ozlabs.org Git - petitboot/commit - discover/grub2/script.c
discover/grub2: Implement 'elif'
authorJeremy Kerr <jk@ozlabs.org>
Tue, 17 Sep 2013 06:35:38 +0000 (14:35 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 24 Sep 2013 05:14:59 +0000 (13:14 +0800)
commitd39ae394911f945cd4a7789a8b210a5662852c46
tree1e7877e6bf6ab54031951042b0469859f8f4853f
parent9638c29114c8d575d1b89c26dcf1f274ea6ab6c4
discover/grub2: Implement 'elif'

Rather than just having one conditional in an if statement, we use a
list of conditionals instead. This allows us to implement elif.

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