summaryrefslogtreecommitdiff
path: root/src/pkg/go/printer/printer.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2010-01-11 12:58:13 -0800
committerRobert Griesemer <gri@golang.org>2010-01-11 12:58:13 -0800
commit34961854b4e319419986ec20fbaeca51d7616e40 (patch)
tree104884362c294830fd0ac1c60784749a571f0f0e /src/pkg/go/printer/printer.go
parent0490f773116d3742eff9c77e1ee41eb5d2912561 (diff)
downloadgolang-34961854b4e319419986ec20fbaeca51d7616e40.tar.gz
Remove -oldprinter flag from gofmt; all code is
now printed using the semicolon-free style. Removed NoSemis flag and mechanism dealing with optional semicolons from go/printer. Updated all go/printer output files using the semi-colon free style. Changes have no formatting impact on checked in go code under src and misc. R=rsc, r CC=golang-dev http://codereview.appspot.com/184068
Diffstat (limited to 'src/pkg/go/printer/printer.go')
-rw-r--r--src/pkg/go/printer/printer.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pkg/go/printer/printer.go b/src/pkg/go/printer/printer.go
index 16f61cd08..9e8200356 100644
--- a/src/pkg/go/printer/printer.go
+++ b/src/pkg/go/printer/printer.go
@@ -894,7 +894,6 @@ const (
RawFormat // do not use a tabwriter; if set, UseSpaces is ignored
TabIndent // use tabs for indentation independent of UseSpaces
UseSpaces // use spaces instead of tabs for alignment
- NoSemis // don't print semicolons at the end of a line
)