diff options
author | Icarus Sparry <golang@icarus.freeuk.com> | 2011-01-04 13:16:29 -0800 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2011-01-04 13:16:29 -0800 |
commit | 6773f1426ff40948d939770a7fc9656072d0ddcd (patch) | |
tree | 94db5bb153d185a6ed3f6f4f9e699400ea4f04b6 | |
parent | 6a5a527173b0b8c10a3ddbfe75ddbef1f9ae342b (diff) | |
download | go-6773f1426ff40948d939770a7fc9656072d0ddcd.tar.gz go-6773f1426ff40948d939770a7fc9656072d0ddcd.zip |
The Dec 06 change
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
-rw-r--r-- | lib/godoc/package.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/godoc/package.txt b/lib/godoc/package.txt index 6cad213c52..6fe992dbe4 100644 --- a/lib/godoc/package.txt +++ b/lib/godoc/package.txt @@ -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} |