]> Cypherpunks repositories - gostls13.git/commit
fix for nodeSize computation, used to determine if
authorRobert Griesemer <gri@golang.org>
Mon, 9 Nov 2009 17:34:55 +0000 (09:34 -0800)
committerRobert Griesemer <gri@golang.org>
Mon, 9 Nov 2009 17:34:55 +0000 (09:34 -0800)
commit53f485813e3900c4972337844b44f90f3ebd77d0
tree5f2d8f459b0eca5e259dd78d994f3be06f8cb178
parentaae64f8c8134409c99a3e7a90f963e4ca116df7c
fix for nodeSize computation, used to determine if
a node fits on one line:
- for purposes of measuring the node size in text,
  don't generate html or use a styler that could
  generate html as it will lead to overly large
  sizes

A consequence of this bug is that source code displayed
with godoc may show functions that fit on one line in
the source on multiple lines.

This change causes no difference to the gofmt formatting
of any files in src or misc.

R=rsc
http://go/go-review/1026034
src/pkg/go/printer/nodes.go