1
0
mirror of https://github.com/golang/go synced 2024-10-04 14:31:21 -06:00
go/src
Robert Griesemer 0a33b703e6 go/doc, godoc: fix range of type declarations
For grouped type declarations, go/doc introduces
fake individual declarations. Don't use the original
location of the "type" keyword because it will lead
to an overly large source code range for that fake
declaration, and thus an overly large selection shown
via godoc (e.g.: click on the AssignStmt link for:
http://golang.org/pkg/go/ast/#AssignStmt ).

Also: Don't create a fake declaration if not needed.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5694061
2012-02-24 13:44:22 -08:00
..
cmd cmd/go: in list, don't print blank lines for no output 2012-02-25 08:00:55 +11:00
lib9 build: delete make paraphernalia 2012-02-06 13:34:25 -05:00
libbio build: delete make paraphernalia 2012-02-06 13:34:25 -05:00
libmach ld: add NOPTRBSS for large, pointer-free uninitialized data 2012-02-21 22:08:42 -05:00
pkg go/doc, godoc: fix range of type declarations 2012-02-24 13:44:22 -08:00
all.bash cmd/dist: cross-compiling fixes 2012-02-13 22:31:51 -05:00
all.bat build: use setlocal in run.bat 2012-02-16 10:44:55 +11:00
clean.bash build: fix clean.bash 2012-02-15 23:52:07 +09:00
clean.bat build: implement clean.bat 2012-02-20 12:17:27 +11:00
make.bash build: add make.bash --no-clean option 2012-02-15 11:48:17 -05:00
make.bat make.bat, run.bat: echo newlines 2012-02-16 20:49:50 +00:00
Make.dist cmd/dist: make 'make' quieter for developers 2012-02-08 15:26:47 -05:00
run.bash cmd/dist: cross-compiling fixes 2012-02-13 22:31:51 -05:00
run.bat make.bat, run.bat: echo newlines 2012-02-16 20:49:50 +00:00
sudo.bash build: fix sudo.bash. 2012-02-15 08:42:16 +11:00