sourcegraph / srclib-go

Go toolchain for srclib
https://sourcegraph.com/sourcegraph/srclib-go
MIT License
29 stars 13 forks source link

gog: do not fail if the doc file cannot be opened #81

Closed sqs closed 8 years ago

sqs commented 8 years ago

Fixes an undesired fatal error when a Go file contains a comment such as the following referring to a file that does not exist.

//line doesntexist.go:4
package foo
/* ... */
sqs commented 8 years ago

Can anyone figure out what broke and why this was needed to fix it, and then deploy this (update srclib_images.go, etc.)?