Commit 8793f622 authored by Robert Griesemer's avatar Robert Griesemer

don't show semicolons anymore with godoc

R=rsc
https://golang.org/cl/174078
parent 6112e809
......@@ -458,7 +458,7 @@ func (s *Styler) Token(tok token.Token) (text []byte, tag printer.HTMLTag) {
// Write an AST-node to w; optionally html-escaped.
func writeNode(w io.Writer, node interface{}, html bool, styler printer.Styler) {
mode := printer.UseSpaces;
mode := printer.UseSpaces | printer.NoSemis;
if html {
mode |= printer.GenHTML
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment