You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since #26158 / https://golang.org/cl/122095 / goyacc adds a "DO NOT EDIT" header. This is missing a trailing newline. It breaks generations of the form
%{
package foo
%}
because the output becomes
// Code generated by goyacc -l -o foo.go -v /dev/null foo.y. DO NOT EDIT.package foo
when it should be
// Code generated by goyacc -l -o foo.go -v /dev/null foo.y. DO NOT EDIT.
package foo
Workaround is to add a new line
%{
package foo
%}
but it's pretty dumb to have to do that.
The text was updated successfully, but these errors were encountered:
Since #26158 / https://golang.org/cl/122095 / goyacc adds a "DO NOT EDIT" header. This is missing a trailing newline. It breaks generations of the form
because the output becomes
when it should be
Workaround is to add a new line
but it's pretty dumb to have to do that.
The text was updated successfully, but these errors were encountered: