1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
nobu 2010-04-18 03:48:54 +00:00
parent cfab29b7db
commit e70a308c75
3 changed files with 10 additions and 1 deletions

View file

@ -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)