]> git.ozlabs.org Git - petitboot/blobdiff - discover/grub2/parser.y
discover/grub2: Add structures & API for parser
[petitboot] / discover / grub2 / parser.y
index dbdde51fe57fbc7377de1c7132f97d831aeee4e6..45ad4e13127d4414d77db15412c4fe190d45dc80 100644 (file)
@@ -14,11 +14,7 @@ static void yyerror(struct grub2_parser *, char const *s);
 %}
 
 %union {
-       struct {
-               char    *strval;
-               int     expand;
-               int     split;
-       };
+       struct grub2_word *word;
 }
 
 /* reserved words */