Commit 3d9ea480 authored by Michael Curran's avatar Michael Curran Committed by Alexandre Julliard

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

parent b7694d8d
......@@ -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))
......
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