ruby_parser
Advanced tools
+6
-0
@@ -0,1 +1,7 @@ | ||
| === 3.0.4 / 2012-11-26 | ||
| * 1 bug fix: | ||
| * RPStringScanner#lineno was still using byte offset, not char offset. (brynary) | ||
| === 3.0.3 / 2012-11-23 | ||
@@ -2,0 +8,0 @@ |
@@ -73,3 +73,3 @@ # encoding: ASCII-8BIT | ||
| def lineno | ||
| string[0...pos].count("\n") + 1 - extra_lines_added | ||
| string[0...charpos].count("\n") + 1 - extra_lines_added | ||
| end | ||
@@ -112,3 +112,3 @@ | ||
| module RubyParserStuff | ||
| VERSION = '3.0.3' unless constants.include? "VERSION" # SIGH | ||
| VERSION = '3.0.4' unless constants.include? "VERSION" # SIGH | ||
@@ -115,0 +115,0 @@ attr_accessor :lexer, :in_def, :in_single, :file |
+1
-1
@@ -192,5 +192,5 @@ # -*- ruby -*- | ||
| task :bugs do | ||
| sh "for f in bug*.rb ; do rake debug F=$f && rm $f ; done" | ||
| sh "for f in bug*.rb ; do rake19 debug F=$f && rm $f ; done" | ||
| end | ||
| # vim: syntax=Ruby |