Unified · Split
| @@ -6545,19 +6545,14 @@ static void expr_eq(void) · 6544 unmodified lines | ||
| 6545 | 6545 | |
| 6546 | 6546 | ST_FUNC void gexpr(void) |
| 6547 | 6547 | { |
| 6548 | − int comma_found = 0; | |
| 6549 | − | |
| 6550 | − while (1) { | |
| 6551 | − expr_eq(); | |
| 6552 | − if (comma_found) | |
| 6553 | − convert_parameter_type (&vtop->type); | |
| 6554 | − if (tok != ',') | |
| 6555 | − break; | |
| 6548 | + expr_eq(); | |
| 6549 | + while (tok == ',') { | |
| 6556 | 6550 | constant_p &= (vtop->r & (VT_VALMASK | VT_LVAL)) == VT_CONST && |
| 6557 | 6551 | !((vtop->r & VT_SYM) && vtop->sym->a.addrtaken); |
| 6558 | − comma_found = 1; | |
| 6559 | 6552 | vpop(); |
| 6560 | 6553 | next(); |
| 6554 | + expr_eq(); | |
| 6555 | + convert_parameter_type (&vtop->type); | |
| 6561 | 6556 | } |
| 6562 | 6557 | } |
| 6563 | 6558 | |