From: Young Tae Kim Date: 2009-03-10T08:20:57+09:00 Subject: Re: Treetop Parser whitespace Clifford Heath wrote: > Young tae Kim wrote: >> I can't understand why the following test fails. >> Could you tell me why? Thanks, in advance. > > It works for me. What version of Treetop and Polyglot > are you using. Can you please tell us what is printed > by "puts parser.failure_reason"? > > Clifford Heath. First of all, many thanks for your reply! The version of the operating system is Ubuntu 8.10 the ruby version is ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] The following is the result of gem list --local $ gem list --local *** LOCAL GEMS *** actionmailer (2.2.2) actionpack (2.2.2) activerecord (2.2.2) activeresource (2.2.2) activesupport (2.2.2) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) fastthread (1.0.1) gem_plugin (0.2.3) hoe (1.9.0) mongrel (1.1.5) polyglot (0.2.5) <---- rails (2.2.2) rake (0.8.3) rubyforge (1.0.3) sqlite3-ruby (1.2.4) treetop (1.2.4) <---- What's printed by "puts parser.failure_reason" is just "nil". -- Posted via http://www.ruby-forum.com/.