Commit b12be1ce authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

d3dxof: Allow omission of comma which separates array elements.

parent b67e875e
......@@ -1703,9 +1703,18 @@ static BOOL parse_object_members_list(parse_buffer * buf)
{
if (k)
{
if (get_TOKEN(buf) != TOKEN_COMMA)
token = check_TOKEN(buf);
if (token == TOKEN_COMMA)
{
get_TOKEN(buf);
}
else
{
/* Allow comma omission */
if (!((token == TOKEN_FLOAT)))
return FALSE;
}
}
if (pt->members[i].type == TOKEN_NAME)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment