mojoshader_assembler.c
changeset 522 3c08f4d2aa2e
parent 521 57e1945104cb
child 523 699696afd731
equal deleted inserted replaced
521:57e1945104cb 522:3c08f4d2aa2e
   581         //  that whitespace back.
   581         //  that whitespace back.
   582         TokenizerContext tmptctx;
   582         TokenizerContext tmptctx;
   583         memcpy(&tmptctx, tctx, sizeof (TokenizerContext));
   583         memcpy(&tmptctx, tctx, sizeof (TokenizerContext));
   584         if (nexttoken_ctx(ctx, &tmptctx, 0, 1, 1, 1) == FAIL)
   584         if (nexttoken_ctx(ctx, &tmptctx, 0, 1, 1, 1) == FAIL)
   585             return FAIL;
   585             return FAIL;
   586         else if (tokeq(&ctx->tctx, "["))
   586         else if (tokeq(&tmptctx, "["))
   587             neednum = 0;
   587             neednum = 0;
   588     } // if
   588     } // if
   589 
   589 
   590     if (neednum)
   590     if (neednum)
   591     {
   591     {