rss/maker doesn't compile
-------------------------

                 Key: JRUBY-1621
                 URL: http://jira.codehaus.org/browse/JRUBY-1621
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
         Environment: trunk jruby, r5055
            Reporter: James Moore
            Priority: Critical


rss/maker gets a syntax error, but works fine from MRI.  (I'm not using it 
directly, but the rails tests include it.)

[EMAIL PROTECTED] ~]$ cat /tmp/r.rb
require 'rss/maker'

[EMAIL PROTECTED] ~]$ jruby /tmp/r.rb
/home/james/jruby/lib/ruby/1.8/rss/maker/base.rb:13:in `append_features': 
/home/james/jruby/lib/ruby/1.8/rss/maker/base.rb:19: syntax error, expecting  
'\n'    ','     tRPAREN but found kEND instead (SyntaxError)

        from /home/james/jruby/lib/ruby/1.8/rss/maker/base.rb:133:in 
`append_features'
        from /home/james/jruby/lib/ruby/1.8/rss/maker/1.0.rb:3
        from /home/james/jruby/lib/ruby/1.8/rss/maker/1.0.rb:3
        from /home/james/jruby/lib/ruby/1.8/rss/maker/1.0.rb:3
        from /home/james/jruby/lib/ruby/1.8/rss/maker/1.0.rb:3:in `require'
        from /home/james/jruby/lib/ruby/1.8/rss/maker/1.0.rb:3:in `require'
        from /home/james/jruby/lib/ruby/1.8/rss/maker.rb:30:in `require'
        from /home/james/jruby/lib/ruby/1.8/rss/maker.rb:30:in `require'
        from /tmp/r.rb:1:in `require'
        from /tmp/r.rb:1:in `require'

[EMAIL PROTECTED] ~]$ ruby /tmp/r.rb
[EMAIL PROTECTED] ~]$


The .rb files in MRI and jruby are identical:
[EMAIL PROTECTED] jruby]$ diff /usr/lib/ruby/1.8/rss/maker/base.rb 
/home/james/jruby/lib/ruby/1.8/rss/maker/base.rb
[EMAIL PROTECTED] jruby]$


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to