parse.y: regexp error in ripper

* parse.y (ripper_flush_string_content, parser_parse_string):
  preserve parsed string content.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2014-11-19 17:10:35 +00:00
parent 3cdbc18f57
commit 098127dc2b
3 changed files with 68 additions and 9 deletions

View file

@ -14,5 +14,8 @@ class TestRipper::Sexp < Test::Unit::TestCase
assert_nil Ripper.sexp("*")
assert_nil Ripper.sexp("end")
assert_nil Ripper.sexp("end 1")
assert_nil Ripper.sexp("/*")
assert_nil Ripper.sexp("/*/")
assert_nil Ripper.sexp("/+/")
end
end if ripper_test