d3dxof: Allow omission of comma which separates array elements.
This commit is contained in:
parent
b67e875eed
commit
b12be1ce78
|
@ -1703,9 +1703,18 @@ static BOOL parse_object_members_list(parse_buffer * buf)
|
||||||
{
|
{
|
||||||
if (k)
|
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;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (pt->members[i].type == TOKEN_NAME)
|
if (pt->members[i].type == TOKEN_NAME)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue