func parseFuncStmts(p *parser, f *ast.Func) { for !(p.See(Rbrace) || p.See(lex8.EOF)) { stmt := parseFuncStmt(p) if stmt != nil { f.Stmts = append(f.Stmts, stmt) } } }