Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed relative addressing parsing, again.
  • Loading branch information
icculus committed Dec 14, 2008
1 parent fea3cdb commit e152a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader_assembler.c
Expand Up @@ -583,7 +583,7 @@ static int parse_register_name(Context *ctx, RegisterType *rtype, int *rnum)
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

Expand Down

0 comments on commit e152a68

Please sign in to comment.