Each value of SCRIPT_LINES__ contains two redundant empty lines
---------------------------------------------------------------

                 Key: JRUBY-2442
                 URL: http://jira.codehaus.org/browse/JRUBY-2442
             Project: JRuby
          Issue Type: Bug
          Components: Parser
    Affects Versions: JRuby 1.1.2
            Reporter: Martin Krauskopf
            Assignee: Thomas E Enebo


Try e.g.:

{code}
$ cd ~/tmp
$ echo -e "class A\nend" > 2_lines.rb
$ jruby -e "SCRIPT_LINES__ = {}; load '2_lines.rb'; p SCRIPT_LINES__"
{code}

I've ended up around {{LexerSource#captureFeature}} and 
{{InputStreamLexerSource#wrappedRead}}. Surely you can do more quickly so 
passing :)

Encountered in the debugger test suite. Likely I can workaround there until 
fixed in 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