Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle Go line directives correctly #146

Open
GoogleCodeExporter opened this issue Mar 22, 2015 · 0 comments
Open

Handle Go line directives correctly #146

GoogleCodeExporter opened this issue Mar 22, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link
Contributor

The Go compiler understands line directives (aka line comments), like "//line 
path/file.y:123", and prints both source locations when reporting errors:

e.g.:
path/file.y:123[/path/to/actual/file.go:321]: here comes the error message.

See 
https://code.google.com/p/go/source/browse/src/pkg/go/scanner/scanner.go?r=30444
b809a9e15ff76ca49afe155fac2b0e5e979#146

Please make GoClipse support these error messages. It currently lists all 
errors in /path/to/actual/file.go, but does not know how to set the correct 
line number.

Original issue reported on code.google.com by fo...@google.com on 12 May 2013 at 6:21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant