mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
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:
parent
3cdbc18f57
commit
098127dc2b
3 changed files with 68 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue