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

no prefix parse function for type NEWLINE found #53

Open
mpictor opened this issue Dec 8, 2018 · 0 comments
Open

no prefix parse function for type NEWLINE found #53

mpictor opened this issue Dec 8, 2018 · 0 comments

Comments

@mpictor
Copy link

mpictor commented Dec 8, 2018

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go 1.10.3

What operating system and processor architecture are you using (go env)?

linux / amd64

What version of GoRuby are you using (git show -s --format=%H or goruby -version)?

HEAD

What did you do?

go run goruby/main.go -e "$(printf "d w{}.o,\n w{}.o")" (note the use of bash's printf to insert a newline into the expression)

What did you expect to see?

something different than what I did see :)

What did you see instead?

syntax error, Parsing errors:
        1:8: no prefix parse function for type NEWLINE found

exit status 1

Failing expression derived from something like this (part of a rakefile):

dll :dllname,
     cdefine('DLLNAME_EXPORTS'),
     installer { uuid('blah') }.only_if(:cond),
     installer { uuid('blaa') }.only_if(:cond2),
     otherstuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant