Commit 6773f142 authored by Icarus Sparry's avatar Icarus Sparry Committed by Robert Griesemer

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
parent 6a5a5271
{.section PAst} {.section PAst}
{@} {@ FSet}
{.end} {.end}
{.section PDoc} {.section PDoc}
{.section IsPkg} {.section IsPkg}
...@@ -12,7 +12,7 @@ COMMAND DOCUMENTATION ...@@ -12,7 +12,7 @@ COMMAND DOCUMENTATION
{.end} {.end}
{.section Doc} {.section Doc}
{@} {@ FSet}
{.end} {.end}
{.section Consts} {.section Consts}
......
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