func newCodeBlock(localvars *varNamePool, blabel int, parent *codeBlock, pos ast.PositionHolder) *codeBlock { bl := &codeBlock{localvars, blabel, parent, false, 0, 0} if pos != nil { bl.LineStart = pos.Line() bl.LastLine = pos.LastLine() } return bl }
func eline(pos ast.PositionHolder) int { return pos.LastLine() }