Navigation Menu

Skip to content

Commit

Permalink
Write out unknown token value in hexadecimal.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 3, 2009
1 parent 15854e3 commit 5ecf4a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader.c
Expand Up @@ -6708,7 +6708,7 @@ static int parse_token(Context *ctx)
else if ((rc = parse_instruction_token(ctx)) != 0)
return rc;

failf(ctx, "unknown token (%u)", (uint) *ctx->tokens);
failf(ctx, "unknown token (0x%x)", (uint) *ctx->tokens);
return 1; // good luck!
} // parse_token

Expand Down

0 comments on commit 5ecf4a9

Please sign in to comment.