d3dxof: Adjusted to allow for parsing of optional template elements.

This commit is contained in:
Michael Curran 2011-04-10 16:30:40 -04:00 committed by Alexandre Julliard
parent b7694d8d7c
commit 3d9ea480a0
1 changed files with 1 additions and 1 deletions

View File

@ -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))