mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* parse.y (string_content): preserve cond_stack and cmdarg_stack.
[ruby-core:29579] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4d82ba512c
commit
cfab29b7db
3 changed files with 23 additions and 8 deletions
|
@ -884,3 +884,9 @@ assert_normal_exit %q{
|
|||
e
|
||||
}
|
||||
}, '[ruby-dev:39861]'
|
||||
|
||||
bug1240 = '[ruby-core:22637]'
|
||||
assert_valid_syntax('x y { "#{}".z { } }', bug1240)
|
||||
assert_valid_syntax('x y { "#{}".z do end }', bug1240)
|
||||
|
||||
assert_valid_syntax('y "#{a 1}" do end', '[ruby-core:29579]')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue