diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-18 03:48:54 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-18 03:48:54 +0000 |
commit | e70a308c75072121ec780ae571fc32db3fe87737 (patch) | |
tree | 0a87ff21a2c5c22aab714dedb560117bdea039cb /bootstraptest | |
parent | cfab29b7db7f3ea63a339946e2959f7118eec7fd (diff) |
* parse.y (parser_yylex): seems like a symbol-literal when spaces
are unbalanced. [ruby-core:29578]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/test_syntax.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstraptest/test_syntax.rb b/bootstraptest/test_syntax.rb index 44db11babf..30219c048e 100644 --- a/bootstraptest/test_syntax.rb +++ b/bootstraptest/test_syntax.rb @@ -890,3 +890,6 @@ 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]') + +bug3163 = '[ruby-core:29578]' +assert_valid_syntax('foo = 1; foo :bar', bug3163) |