()
| 584 | } |
| 585 | |
| 586 | func (p *parser) expressionStatement() { |
| 587 | if e := p.suffixedExpression(); p.t == '=' || p.t == ',' { |
| 588 | p.assignment(&assignmentTarget{exprDesc: e}, 1) |
| 589 | } else { |
| 590 | p.checkCondition(e.kind == kindCall, "syntax error") |
| 591 | p.function.Instruction(e).setC(1) // call statement uses no results |
| 592 | } |
| 593 | } |
| 594 | |
| 595 | func (p *parser) returnStatement() { |
| 596 | if f := p.function; p.blockFollow(true) || p.t == ';' { |
no test coverage detected