Actions
Backport #1065
closedmore human readable output on parsing failure
Status:
Rejected
Assignee:
Description
=begin
It would be kind to apply a patch to make parsing errors more human readable for 1.8.x
ex:
-e:1: syntax error, unexpected tIDENTIFIER, expecting $end
the output is:
-e:1: syntax error, unexpected identifier, expecting $end
or:
-e:1: syntax error, unexpected kEND
-e:1: syntax error, unexpected end
refs:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/7653
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/12946
Something like this appears to exist in 1.9, or the above patches might work.
Thank you!
-=r
=end
Updated by shyouhei (Shyouhei Urabe) over 13 years ago
- Status changed from Open to Assigned
=begin
=end
Updated by knu (Akinori MUSHA) over 12 years ago
- Status changed from Assigned to Rejected
One-point-eighters have been living with those mnemonics, so just leave them.
Actions
Like0
Like0Like0Like0