|
From: <caw...@us...> - 2007-08-02 18:41:27
|
Revision: 2925
http://rubyeclipse.svn.sourceforge.net/rubyeclipse/?rev=2925&view=rev
Author: cawilliams
Date: 2007-08-02 11:41:26 -0700 (Thu, 02 Aug 2007)
Log Message:
-----------
fix to work with latest JRuby
Modified Paths:
--------------
trunk/org.rubypeople.rdt.astviewer/src/org/rubypeople/rdt/astviewer/views/ViewContentProvider.java
Modified: trunk/org.rubypeople.rdt.astviewer/src/org/rubypeople/rdt/astviewer/views/ViewContentProvider.java
===================================================================
--- trunk/org.rubypeople.rdt.astviewer/src/org/rubypeople/rdt/astviewer/views/ViewContentProvider.java 2007-08-02 18:37:46 UTC (rev 2924)
+++ trunk/org.rubypeople.rdt.astviewer/src/org/rubypeople/rdt/astviewer/views/ViewContentProvider.java 2007-08-02 18:41:26 UTC (rev 2925)
@@ -120,8 +120,8 @@
public Node getRootNode() {
LexerSource lexerSource;
try {
- lexerSource = new LexerSource(getName(), new InputStreamReader(getContents()), 1);
- return parser.parse(new RubyParserConfiguration(), lexerSource).getAST();
+ lexerSource = new LexerSource(getName(), new InputStreamReader(getContents()), 1, true);
+ return parser.parse(new RubyParserConfiguration(false), lexerSource).getAST();
} catch (CoreException e) {
return null;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|