Skip to content

Commit

Permalink
Recover slightly better from unrecognized instruction tokens.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed May 29, 2011
1 parent 3614872 commit b9b962c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader.c
Expand Up @@ -6742,7 +6742,7 @@ static int parse_instruction_token(Context *ctx)
if (instruction->opcode_string == NULL)
{
fail(ctx, "Unknown opcode.");
return 1; // pray that you resync later.
return insttoks + 1; // pray that you resync later.
} // if

if (coissue)
Expand Down

0 comments on commit b9b962c

Please sign in to comment.