d3dxof: Do not expect a separator when there is no element.
This commit is contained in:
parent
65b7bdcef9
commit
4d79c26306
|
@ -1161,7 +1161,7 @@ static BOOL parse_object_members_list(parse_buffer * buf)
|
|||
}
|
||||
}
|
||||
|
||||
if (buf->txt && (check_TOKEN(buf) != TOKEN_CBRACE))
|
||||
if (nb_elems && buf->txt && (check_TOKEN(buf) != TOKEN_CBRACE))
|
||||
{
|
||||
token = get_TOKEN(buf);
|
||||
if ((token != TOKEN_SEMICOLON) && (token != TOKEN_COMMA))
|
||||
|
|
Loading…
Reference in New Issue