()
| 645 | } |
| 646 | |
| 647 | func (p *parser) mainFunction() { |
| 648 | p.function.OpenMainFunction() |
| 649 | p.next() |
| 650 | p.statementList() |
| 651 | p.check(tkEOS) |
| 652 | p.function = p.function.CloseMainFunction() |
| 653 | } |
| 654 | |
| 655 | func (l *State) parse(r io.ByteReader, name string) *luaClosure { |
| 656 | p := &parser{scanner: scanner{r: r, lineNumber: 1, lastLine: 1, lookAheadToken: token{t: tkEOS}, l: l, source: name}} |
no test coverage detected