mojoshader_assembler.c
changeset 522 3c08f4d2aa2e
parent 521 57e1945104cb
child 523 699696afd731
--- a/mojoshader_assembler.c	Sun Dec 14 07:10:53 2008 -0500
+++ b/mojoshader_assembler.c	Sun Dec 14 16:27:40 2008 -0500
@@ -583,7 +583,7 @@
         memcpy(&tmptctx, tctx, sizeof (TokenizerContext));
         if (nexttoken_ctx(ctx, &tmptctx, 0, 1, 1, 1) == FAIL)
             return FAIL;
-        else if (tokeq(&ctx->tctx, "["))
+        else if (tokeq(&tmptctx, "["))
             neednum = 0;
     } // if