Skip to content

Commit

Permalink
Fix another source refactoring bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseaton committed Oct 26, 2014
1 parent 1c19167 commit 43c0df9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -268,7 +268,7 @@ private LexerSource newSource(String contents) {
private LexerSource newSource(String contents, List<String> scriptLines) {
//return new InputStreamLexerSource("in-memory-source",
// new java.io.ByteArrayInputStream(safeGetBytes(contents)), scriptLines, 0, false);
return new ByteArrayLexerSource("in-memory-source", safeGetBytes(contents), scriptLines, 0, false, new SimpleSourcePositionFactory.Factory());
return new ByteArrayLexerSource("in-memory-source", safeGetBytes(contents), scriptLines, 0);
}

private void assertActionShouldProduce(String expected, Callable<byte[]> action) {
Expand Down

0 comments on commit 43c0df9

Please sign in to comment.