mirror of
https://github.com/golang/go
synced 2024-11-18 15:14:44 -07:00
3d1847243e
This change sets ParserMode=AllErrors so that the parser is never allowed to discard the AST and use a dummy one just because it saw too many errors. Also, change (*loader.Program).PathEnclosingInterval so that other clients that forget to set this flag don't panic while calling fset.File(f.Pos()).Base() on an ast.File f with no position info. Change-Id: Ie544f169d367d2aa85426212b27063dc72e36fb1 Reviewed-on: https://go-review.googlesource.com/10290 Reviewed-by: Robert Griesemer <gri@golang.org> |
||
---|---|---|
.. | ||
serial | ||
testdata/src | ||
callees.go | ||
callers.go | ||
callstack.go | ||
definition.go | ||
describe.go | ||
freevars.go | ||
implements.go | ||
oracle_test.go | ||
oracle.go | ||
peers.go | ||
pointsto.go | ||
pos.go | ||
referrers.go | ||
TODO | ||
what.go | ||
whicherrs.go |