Bug #4383
closedpsych fails to parse a symbol in a flow sequence
Description
=begin
% ruby-trunk -rsyck -ryaml -ve 'p YAML.load("order: [ :year, :month, :day ]")'
ruby 1.9.3dev (2011-02-08 trunk 30821) [i386-darwin9.8.0]
{"order"=>[:year, :month, :day]}
% ruby-trunk -rpsych -ryaml -ve 'p YAML.load("order: [ :year, :month, :day ]")'
ruby 1.9.3dev (2011-02-08 trunk 30821) [i386-darwin9.8.0]
/Users/yugui/local/lib/ruby-trunk/1.9.1/psych.rb:153:in parse': (<unknown>): couldn't parse YAML at line 0 column 10 (Psych::SyntaxError) from /Users/yugui/local/lib/ruby-trunk/1.9.1/psych.rb:153:in
parse_stream'
from /Users/yugui/local/lib/ruby-trunk/1.9.1/psych.rb:124:in parse' from /Users/yugui/local/lib/ruby-trunk/1.9.1/psych.rb:111:in
load'
from -e:1:in `'
The example YAML is a part of lib/active_support/locale/en.yml in ActiveSupport 2.3.10.
=end