Add tip message when theme file contains non-enclosed literal values. (#2166)

This commit is contained in:
longpanda 2023-01-14 23:07:08 +08:00
parent 4f5334026e
commit 5067020a61
1 changed files with 5 additions and 0 deletions

View File

@ -734,6 +734,11 @@ read_property (struct parsebuf *p)
"%s:%d:%d property value invalid; "
"enclose literal values in quotes (\")",
p->filename, p->line_num, p->col_num);
grub_printf("File: %s\nLine:%d Column:%d\n"
"property value invalid; enclose literal values in quotes (\")\n\n",
p->filename, p->line_num, p->col_num);
goto done;
}