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

Interpolation should start EXPR_VALUE, not EXPR_BEG #166

Closed
whitequark opened this issue Oct 3, 2014 · 1 comment
Closed

Interpolation should start EXPR_VALUE, not EXPR_BEG #166

whitequark opened this issue Oct 3, 2014 · 1 comment
Assignees

Comments

@whitequark
Copy link

I.e.:

[30] pry(main)> "#{p:a}"
:a
=> "a"
[31] pry(main)> Ruby21Parser.new.parse(%q{"#{p:a}"})
Racc::ParseError: (string):1 :: parse error on value ["p", 1] (tLABEL)
from /opt/rubies/ruby-2.1.1/lib/ruby/2.1.0/racc/parser.rb:529:in `on_error'
@zenspider zenspider self-assigned this Oct 3, 2014
@zenspider
Copy link
Member

Fixed. Thanks.

@seattlerb seattlerb locked and limited conversation to collaborators Jan 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants