(line int)
| 384 | } |
| 385 | |
| 386 | func (p *parser) forStatement(line int) { |
| 387 | p.function.EnterBlock(true) |
| 388 | p.next() |
| 389 | switch name := p.checkName(); p.t { |
| 390 | case '=': |
| 391 | p.forNumeric(name, line) |
| 392 | case ',', tkIn: |
| 393 | p.forList(name) |
| 394 | default: |
| 395 | p.syntaxError("'=' or 'in' expected") |
| 396 | } |
| 397 | p.checkMatch(tkEnd, tkFor, line) |
| 398 | p.function.LeaveBlock() |
| 399 | } |
| 400 | |
| 401 | func (p *parser) testThenBlock(escapes int) int { |
| 402 | var jumpFalse int |
no test coverage detected