From aff22927c27fca9e5c115173d6fa6adc152a04ec Mon Sep 17 00:00:00 2001 From: mame Date: Thu, 30 Jul 2009 18:02:37 +0000 Subject: * parse.y (literal_concat_gen): NODE_DSTR was incorrectly handled as NODE_STR. [ruby-dev:38968] * bootstraptest/test_syntax.rb: add a test for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/test_syntax.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bootstraptest') diff --git a/bootstraptest/test_syntax.rb b/bootstraptest/test_syntax.rb index a9005a429..131625ea6 100644 --- a/bootstraptest/test_syntax.rb +++ b/bootstraptest/test_syntax.rb @@ -828,3 +828,6 @@ assert_normal_exit %q{ p a.compact! } +assert_equal 'ok', %q{ + "#{}""#{}ok" +}, '[ruby-dev:38968]' -- cgit