Don't look for comma here.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 10 Dec 2008 04:21:04 -0500
changeset 487 99302a771d1a
parent 486 45efac751027
child 488 1a318d011c00
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
--- a/mojoshader_assembler.c	Wed Dec 10 04:14:50 2008 -0500
+++ b/mojoshader_assembler.c	Wed Dec 10 04:21:04 2008 -0500
@@ -905,10 +905,6 @@
 
     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