ruby_parser
Advanced tools
+6
-0
@@ -0,1 +1,7 @@ | ||
| === 3.6.1 / YYYY-MM-DD | ||
| * 1 bug fix: | ||
| * Strings that don't match the encoding of the file are now returned as ASCII-8BIT. | ||
| === 3.6.0 / 2014-04-23 | ||
@@ -2,0 +8,0 @@ |
@@ -94,3 +94,3 @@ # encoding: ASCII-8BIT | ||
| module RubyParserStuff | ||
| VERSION = "3.6.0" unless constants.include? "VERSION" # SIGH | ||
| VERSION = "3.6.1" unless constants.include? "VERSION" # SIGH | ||
@@ -836,2 +836,3 @@ attr_accessor :lexer, :in_def, :in_single, :file | ||
| str = val[0] | ||
| str.force_encoding("ASCII-8BIT") unless str.valid_encoding? unless RUBY_VERSION < "1.9" | ||
| result = s(:str, str) | ||
@@ -838,0 +839,0 @@ self.lexer.lineno += str.count("\n") + self.lexer.extra_lineno |