Skip to content

Commit

Permalink
Unbreak $0 != __FILE__ (plus this matches MRI expected value)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7202 961051c9-f516-0410-bf72-c9f7e237a7b7
  • Loading branch information
enebo committed Jul 17, 2008
1 parent 5a42e89 commit 87eae19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/jruby/Ruby.java
Expand Up @@ -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) {
Expand Down

0 comments on commit 87eae19

Please sign in to comment.