go/parser.parser.error (method)

24 uses

	go/parser (current package)
		parser.go#L111: 			p.error(ident.Pos(), fmt.Sprintf("label %s undefined", ident.Name))
		parser.go#L134: 				p.error(ident.Pos(), fmt.Sprintf("%s redeclared in this block%s", ident.Name, prevDecl))
		parser.go#L164: 		p.error(list[0].Pos(), "no new variables on left side of :=")
		parser.go#L354: func (p *parser) error(pos token.Pos, msg string) {
		parser.go#L388: 	p.error(pos, msg)
		parser.go#L417: 		p.error(p.pos, "missing ',' before newline in "+context)
		parser.go#L449: 		p.error(p.pos, msg+" in "+context)
		parser.go#L804: 			p.error(pos, "'...' parameter is missing type")
		parser.go#L1247: 				p.error(colons[0], "2nd index required in 3-index slice")
		parser.go#L1251: 				p.error(colons[1], "3rd index required in 3-index slice")
		parser.go#L1463: 			p.error(len.Pos(), "expected array length, found '...'")
		parser.go#L1726: 		p.error(colon, "illegal label declaration")
		parser.go#L1754: 		p.error(p.safePos(x.End()), fmt.Sprintf("function must be invoked in %s statement", callType))
		parser.go#L1834: 	p.error(s.Pos(), fmt.Sprintf("expected %s, found %s (missing parentheses around composite literal?)", want, found))
		parser.go#L1843: 		p.error(p.pos, "missing condition in if statement")
		parser.go#L1856: 			p.error(p.pos, fmt.Sprintf("var declaration not allowed in 'IF' initializer"))
		parser.go#L1886: 			p.error(semi.pos, "unexpected newline, expecting { after if clause")
		parser.go#L1888: 			p.error(semi.pos, "missing condition in if statement")
		parser.go#L1989: 				p.error(t.TokPos, "expected ':=', found '='")
		parser.go#L2310: 			p.error(pos, "invalid import path: "+path)
		parser.go#L2349: 			p.error(pos, "missing variable type or initialization")
		parser.go#L2353: 			p.error(pos, "missing constant value")
		parser.go#L2458: 			p.error(p.pos, "unexpected semicolon or newline before {")
		parser.go#L2539: 		p.error(p.pos, "invalid package name _")