]> Cypherpunks repositories - gostls13.git/commitdiff
The Dec 06 change
authorIcarus Sparry <golang@icarus.freeuk.com>
Tue, 4 Jan 2011 21:16:29 +0000 (13:16 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 4 Jan 2011 21:16:29 +0000 (13:16 -0800)
changeset:   6839:545c9926d61a
user:        Robert Griesemer <gri@golang.org>
date:        Mon Dec 06 14:23:18 2010 -0800
summary:     go/ast: use token.Pos instead of token.Position; adjust all dependent code
broke 'godoc -src fmt', one of the example uses of godoc. It gives a stack backtrace essentially
caused by dereferencing a NULL pointer (in C terms). This change fixes the particular issue, but
the code probably should be made more robust.
Fixes #3818044.

R=gri
CC=golang-dev
https://golang.org/cl/3818044

lib/godoc/package.txt

index 6cad213c52be41e3dbe36be42481214b2dd06f6e..6fe992dbe42d60992530c0674a5544d7a5221295 100644 (file)
@@ -1,5 +1,5 @@
 {.section PAst}
-{@}
+{@ FSet}
 {.end}
 {.section PDoc}
 {.section IsPkg}
@@ -12,7 +12,7 @@ COMMAND DOCUMENTATION
 {.end}
 {.section Doc}
 
-{@}
+{@ FSet}
 {.end}
 {.section Consts}