[plist] Allow ` to be used without quotes

It has no special meaning when parsing property lists, so there's no
reason to require quotes around it.
This commit is contained in:
Bill Currie 2021-12-02 13:38:12 +09:00
parent 9e755f270e
commit a6703c95cf

View file

@ -125,7 +125,7 @@ static void
init_quotables (void)
{
const char *unquotables = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz!#$%&*+-./:?@|~_^";
"`abcdefghijklmnopqrstuvwxyz!#$%&*+-./:?@|~_^";
const byte *c;
memset (quotable_bitmap, ~0, sizeof (quotable_bitmap));
for (c = (byte *) unquotables; *c; c++)