Actions
Bug #816
closedUnexpected syntax error with: if true and not\n false
Bug #816:
Unexpected syntax error with: if true and not\n false
Description
=begin
ruby -v so.rb
ruby 1.8.7 (2008-11-11 patchlevel 73) [i686-linux]
"yay"
ruby1.9 -v so.rb
ruby 1.9.1 (2008-12-01 revision 20437) [i686-linux]
so.rb:2: syntax error, unexpected '\n'
so.rb:3: warning: unused literal ignored
so.rb:5: syntax error, unexpected keyword_end, expecting $end
cat so.rb
if true and not
false
p 'yay'
end
=end
Actions