#include <assert.h>
+#include <string.h>
#include <talloc/talloc.h>
#include <url/url.h>
#include <discover/parser-utils.h>
#include "grub2.h"
-#include "parser.h"
-#include "lexer.h"
static const char *const grub2_conf_files[] = {
"/grub.cfg",
continue;
parser = grub2_parser_create(dc);
- grub2_parser_parse(parser, buf, len);
+ grub2_parser_parse(parser, *filename, buf, len);
talloc_free(buf);
talloc_free(parser);
break;