d3dxof: Adjusted to allow for parsing of optional template elements.
This commit is contained in:
parent
b7694d8d7c
commit
3d9ea480a0
|
@ -1161,7 +1161,7 @@ static BOOL parse_object_members_list(parse_buffer * buf)
|
|||
}
|
||||
}
|
||||
|
||||
if (nb_elems && buf->txt && (check_TOKEN(buf) != TOKEN_CBRACE))
|
||||
if (nb_elems && buf->txt && (check_TOKEN(buf) != TOKEN_CBRACE) && (check_TOKEN(buf) != TOKEN_NAME))
|
||||
{
|
||||
token = get_TOKEN(buf);
|
||||
if ((token != TOKEN_SEMICOLON) && (token != TOKEN_COMMA))
|
||||
|
|
Loading…
Reference in New Issue