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

go/parser: ParseExpr broken, something about EOF #1170

Closed
gjemiller opened this issue Oct 6, 2010 · 4 comments
Closed

go/parser: ParseExpr broken, something about EOF #1170

gjemiller opened this issue Oct 6, 2010 · 4 comments

Comments

@gjemiller
Copy link

Before filing a bug, please check whether it has been fixed since
the latest release: run "hg pull -u" and retry what you did to
reproduce the problem.  Thanks.

What steps will reproduce the problem?
1. gofmt -r='8->9'
2.
3.

What is the expected output?
None, hangs waiting for stdin

What do you see instead?
parsing pattern 8: input:1:1: expected 'EOF', found newline

Which compiler are you using (5g, 6g, 8g, gccgo)?
(happens on amd64 and 386 machines)

Which operating system are you using?
linux

Which revision are you using?  (hg identify)
9b116c4a5f91 tip

Please provide any additional information below.
Note that there's no test for rewrite rules in src/cmd/gofmt/test.sh.  Perhaps there
should be one.
@adg
Copy link
Contributor

adg commented Oct 7, 2010

Comment 2:

Owner changed to g...@golang.org.

@rsc
Copy link
Contributor

rsc commented Oct 11, 2010

Comment 3:

Issue #1182 has been merged into this issue.

@rsc
Copy link
Contributor

rsc commented Oct 11, 2010

Comment 5:

Status changed to Accepted.

@griesemer
Copy link
Contributor

Comment 6:

This issue was closed by revision b57b10f.

Status changed to Fixed.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants