Re: [1/3] d3dxof: Make parsing more permissive about semicolon and comma in objects
Christian Costa wrote:
------------------------------------------------------------------------
Hi Christian, + if ((token != TOKEN_SEMICOLON) && (token != TOKEN_COMMA)) { /* Allow comma instead of semicolon in some specific cases */ if (!((token == TOKEN_COMMA) && ((i+1) < pt->nb_members) && (pt->members[i].type == pt->members[i+1].type) This introduced a DEADCODE warning in Coverity. The code changed was in d3dxof.c but was moved in a later patch to parsing.c. Could you have a look? -- Cheers, Paul.
Hi Paul, I'm just sending a patch to fix that. Thanks for spotting. Bye, Christian Paul Vriens a écrit :
Christian Costa wrote:
------------------------------------------------------------------------
Hi Christian,
+ if ((token != TOKEN_SEMICOLON) && (token != TOKEN_COMMA)) { /* Allow comma instead of semicolon in some specific cases */ if (!((token == TOKEN_COMMA) && ((i+1) < pt->nb_members) && (pt->members[i].type == pt->members[i+1].type)
This introduced a DEADCODE warning in Coverity. The code changed was in d3dxof.c but was moved in a later patch to parsing.c.
Could you have a look?
participants (2)
-
Christian Costa -
Paul Vriens