Skip to content

Commit

Permalink
Don't look for comma here.
Browse files Browse the repository at this point in the history
Not only is doing so awkward, but this is handled by a require_comma() call
 elsewhere anyhow.
  • Loading branch information
icculus committed Dec 10, 2008
1 parent 83f57dc commit 23433bd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mojoshader_assembler.c
Expand Up @@ -905,10 +905,6 @@ static int parse_num(Context *ctx, const int floatok, uint32 *token)

if (nexttoken(ctx, 0, 1, 0, 0) == FAIL)
return FAIL;
else if (strcmp(ctx->token, ",") != 0)
return fail(ctx, "Expected ','");
else if (nexttoken(ctx, 0, 1, 0, 0) == FAIL)
return FAIL;
else if (strcmp(ctx->token, "-") == 0)
negative = -1;
else
Expand Down

0 comments on commit 23433bd

Please sign in to comment.