You are trying to parse it line by line but it won't work in that way.
Just parse whole file:

sexp = RubyParser.new.parse(File.read("readline.rb"))

-- 
Radosw Bu„Šat

http://radarek.jogger.pl - m blog