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

Should not parse "end" after numeric literal as exponent in invalid format #164

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

Comments

@whitequark
Copy link

I.e.:

[10] pry(main)> Ruby21Parser.new.parse("begin 1.1end")
RubyParser::SyntaxError: no .<digit> floating literal anymore put 0 before dot. near line 1: "end"
from /home/whitequark/.gem/ruby/2.1.1/gems/ruby_parser-3.6.3/lib/ruby_lexer.rb:756:in `rb_compile_error'
[11] pry(main)> begin 1.1end
=> 1.1
@zenspider zenspider self-assigned this Oct 3, 2014
@zenspider
Copy link
Member

Fixed for quite some time. Thank you.

@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