equal
deleted
inserted
replaced
600 regtype = REG_TYPE_CONST; |
600 regtype = REG_TYPE_CONST; |
601 regnum = 0; |
601 regnum = 0; |
602 neednum = 0; |
602 neednum = 0; |
603 } // else |
603 } // else |
604 |
604 |
605 if (neednum) |
605 // "c[5]" is the same as "c5", so if the token is done, see if next is '['. |
|
606 if ((neednum) && (ctx->tokenlen == 0)) |
606 { |
607 { |
607 if (nexttoken(ctx) == ((Token) '[')) |
608 if (nexttoken(ctx) == ((Token) '[')) |
608 neednum = 0; // "c[5]" is the same as "c5". |
609 neednum = 0; // don't need a number on register name itself. |
609 pushback(ctx); |
610 pushback(ctx); |
610 } // if |
611 } // if |
611 |
612 |
612 if (neednum) |
613 if (neednum) |
613 { |
614 { |