Issue Type: Bug Bug
Assignee: Thomas E Enebo
Created: 17/Mar/13 10:55 PM
Description:

There is a bug in Ripper when parsing the string "::Object". Below is the behaviour with MRI/YARV 1.9.3, 2.0.0 and with jruby-head:

Command:

ruby -rripper -e 'p Ripper.lex("::Object")'

Results:

  1. ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-darwin12.2.0]
    => [[[1, 0], :on_op, "::"], [[1, 2], :on_const, "Object"]]
  1. ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.2.0]
    => [[[1, 0], :on_op, "::"], [[1, 2], :on_const, "Object"]]
  1. jruby 1.7.4.dev (1.9.3p392) 2013-03-14 fffffff on Java HotSpot(TM) 64-Bit Server VM 1.6.0_43-b01-447-11M4203 [darwin-x86_64]
    => [[[2, 0], :on_const, "Object"]]
Project: JRuby
Priority: Major Major
Reporter: Dan Kubb
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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