From 23433bdf3fc2ca48006e276d10299aa3ad0cb24e Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 10 Dec 2008 04:21:04 -0500 Subject: [PATCH] Don't look for comma here. Not only is doing so awkward, but this is handled by a require_comma() call elsewhere anyhow. --- mojoshader_assembler.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mojoshader_assembler.c b/mojoshader_assembler.c index 5b84aede..8325fab0 100644 --- a/mojoshader_assembler.c +++ b/mojoshader_assembler.c @@ -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