Skip to content

Commit

Permalink
- Holy crap I was smokin' something good... Fixed 1.9.3 warning
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/ruby_parser/dev/": change = 6646]
  • Loading branch information
zenspider committed Sep 21, 2011
1 parent 977deab commit af020fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruby_lexer.rb
Expand Up @@ -727,7 +727,7 @@ def yylex # 826 lines
# @comments << '=' << src.matched
@comments << src.matched

unless src.scan(/.*?\n=end( |\t|\f)*[^(\n|\z)]*(\n|\z)/m) then
unless src.scan(/.*?\n=end( |\t|\f)*[^\n]*(\n|\z)/m) then
@comments.clear
rb_compile_error("embedded document meets end of file")
end
Expand Down

0 comments on commit af020fd

Please sign in to comment.