Browse files

Unbreak $0 != __FILE__ (plus this matches MRI expected value)

git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7202 961051c9-f516-0410-bf72-c9f7e237a7b7
  • Loading branch information...
1 parent 5a42e89 commit 87eae19998b2494c376f9e8d1d79addc52884678 @enebo enebo committed Jul 17, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/org/jruby/Ruby.java
View
2 src/org/jruby/Ruby.java
@@ -1841,7 +1841,7 @@ private String tweakPath(String filename) {
}
public Node parseFile(InputStream in, String file, DynamicScope scope) {
- return parser.parse(tweakPath(file), in, scope, new ParserConfiguration(0, false, false, true));
+ return parser.parse(file, in, scope, new ParserConfiguration(0, false, false, true));
}
public Node parseInline(InputStream in, String file, DynamicScope scope) {

0 comments on commit 87eae19

Please sign in to comment.