Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Encoding in Ruby 18 #133

Closed
flyerhzm opened this Issue · 3 comments

2 participants

@flyerhzm

I tried parser in ruby 1.8.7, ree 2012.02, got the following error

ruby18.y:1916:in `default_encoding': uninitialized constant Parser::Ruby18::Encoding (NameError)

There is no Encoding class in ruby 1.8

@whitequark
Owner

Fixed in master. Let me know if you need a bugfix release! The bug only affected the command-line runner.

@flyerhzm

Sorry I didn't leave a detailed description.

I called Parser::CurrentRuby.parse(str) manually where parser calls parser.default_encoding internally.

@whitequark whitequark reopened this
@whitequark
Owner

Released 2.1.5 with bugfix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.