discover/grub2: Implement 'elif'
[petitboot] / discover / grub2 / grub2.h
index 7f4a8345e666ff7ac78012320610ed07fdfe9c76..c7f43de252e9623732e699005df535bf0327f583 100644 (file)
@@ -68,7 +68,7 @@ struct grub2_statement_conditional {
 
 struct grub2_statement_if {
        struct grub2_statement  st;
-       struct grub2_statement  *conditional;
+       struct grub2_statements *conditionals;
        struct grub2_statements *else_case;
 };
 
@@ -114,6 +114,7 @@ struct grub2_statement *create_statement_conditional(
 
 struct grub2_statement *create_statement_if(struct grub2_parser *parser,
                struct grub2_statement *conditional,
+               struct grub2_statements *elifs,
                struct grub2_statements *else_case);
 
 struct grub2_statement *create_statement_block(struct grub2_parser *parser,