diff options
Diffstat (limited to 'src/pkg/go/parser/parser.go')
-rw-r--r-- | src/pkg/go/parser/parser.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/pkg/go/parser/parser.go b/src/pkg/go/parser/parser.go index f0fa487cc..537832209 100644 --- a/src/pkg/go/parser/parser.go +++ b/src/pkg/go/parser/parser.go @@ -74,8 +74,6 @@ func scannerMode(mode uint) uint { } -func (p *parser) next() - func (p *parser) init(filename string, src []byte, mode uint) { p.ErrorVector.Init(); p.scanner.Init(filename, src, p, scannerMode(mode)); @@ -267,13 +265,6 @@ func (p *parser) expect(tok token.Token) token.Position { // ---------------------------------------------------------------------------- // Common productions -func (p *parser) tryType() ast.Expr -func (p *parser) parseStringList(x *ast.StringLit) []*ast.StringLit -func (p *parser) parseExpr() ast.Expr -func (p *parser) parseStmt() ast.Stmt -func (p *parser) parseDecl(getSemi bool) (decl ast.Decl, gotSemi bool) - - func (p *parser) parseIdent() *ast.Ident { if p.tok == token.IDENT { x := &ast.Ident{p.pos, string(p.lit)}; |