Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Ripper error "lex_p < tokp" caused by multi-byte character #1417
While I was using YARD I found another bug in Ripper. The following code runs fine with ruby 2.0.0p0 in Windows:
# coding: UTF-8 require 'ripper' Ripper.parse "[:µ]\n\n"
However, if I run it with JRuby 1.7.10 then I get a cryptic error. In the shell output below you can see the exact version of JRuby I am using and the error:
This is probably a bug in Ripper because
(this was copied from issue #789)