diff options
Diffstat (limited to 'src/pkg/go/printer/printer.go')
-rw-r--r-- | src/pkg/go/printer/printer.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/pkg/go/printer/printer.go b/src/pkg/go/printer/printer.go index d863c01c3..bb2f63a56 100644 --- a/src/pkg/go/printer/printer.go +++ b/src/pkg/go/printer/printer.go @@ -457,8 +457,6 @@ func (p *printer) lineComment(d *ast.CommentGroup) { } -func (p *printer) expr(x ast.Expr) bool - func (p *printer) identList(list []*ast.Ident) { for i, x := range list { if i > 0 { @@ -595,8 +593,6 @@ func (p *printer) fieldList(lbrace token.Position, list []*ast.Field, rbrace tok // ---------------------------------------------------------------------------- // Expressions -func (p *printer) stmt(s ast.Stmt) (optSemi bool) - // Returns true if a separating semicolon is optional. func (p *printer) expr1(expr ast.Expr, prec1 int) (optSemi bool) { p.print(expr.Pos()); @@ -781,8 +777,6 @@ func (p *printer) expr(x ast.Expr) bool { // ---------------------------------------------------------------------------- // Statements -func (p *printer) decl(decl ast.Decl) (comment *ast.CommentGroup, optSemi bool) - // Print the statement list indented, but without a newline after the last statement. func (p *printer) stmtList(list []ast.Stmt) { if len(list) > 0 { |