Skip to content

Commit c34193d

Browse files
committed
Adopt removing offset Prism parsing option
1 parent 7932e62 commit c34193d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/truffleruby/parser/YARPTranslatorDriver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ public static ParseResult parseToYARPAST(RubySource rubySource, String sourcePat
401401
scopes = new byte[0][][];
402402
}
403403

404-
byte[] parsingOptions = ParsingOptions.serialize(filepath, line, 0, encoding, frozenStringLiteral, commandline,
404+
byte[] parsingOptions = ParsingOptions.serialize(filepath, line, encoding, frozenStringLiteral, commandline,
405405
version, scopes);
406406
byte[] serializedBytes = Parser.parseAndSerialize(sourceBytes, parsingOptions);
407407

0 commit comments

Comments
 (0)