Title: [716] trunk/jparsetree/lib/parse_tree.rb: Fixed problem caused by JRuby 1.0.1: the JRuby.parse method now requires three arguments instead of two as in JRuby 1.0;
Revision
716
Author
murphee
Date
2007-08-25 16:38:08 -0400 (Sat, 25 Aug 2007)

Log Message

Fixed problem caused by JRuby 1.0.1: the JRuby.parse method now requires three arguments instead of two as in JRuby 1.0;

Modified Paths

Diff

Modified: trunk/jparsetree/lib/parse_tree.rb (715 => 716)


--- trunk/jparsetree/lib/parse_tree.rb	2007-08-25 06:17:57 UTC (rev 715)
+++ trunk/jparsetree/lib/parse_tree.rb	2007-08-25 20:38:08 UTC (rev 716)
@@ -42,7 +42,7 @@
   def initialize(arg=false)
   end
 
-VERSION = '1.0.0.694'
+VERSION = '1.0.0.697'
 
   ##
   # Main driver for ParseTree. Returns an array of arrays containing
@@ -104,7 +104,7 @@
   end
 
   def parse_tree_for_string(source, filename = "", line = nil,newlines = false)
-    expr = parse_tree_for_AST(JRuby.parse(source, filename)).sexpr()
+    expr = parse_tree_for_AST(JRuby.parse(source, filename, nil)).sexpr()
     expr
   end
 
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel

Reply via email to