Skip to content

Commit

Permalink
Lint again
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseaton authored and kirs committed Mar 24, 2021
1 parent effc46d commit ec9bb0a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@ public class ParserConfiguration {
private Encoding defaultEncoding;
private RubyContext context;

public ParserConfiguration(RubyContext context, boolean inlineSource, boolean isFileParse, boolean saveData, boolean core) {
public ParserConfiguration(
RubyContext context,
boolean inlineSource,
boolean isFileParse,
boolean saveData,
boolean core) {
this.context = context;
this.inlineSource = inlineSource;
this.isEvalParse = !isFileParse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1314,9 +1314,12 @@ public ParseNode literal_concat(ParseNode head, ParseNode tail) {
StrParseNode front = (StrParseNode) head;
//Do not add an empty string node
if (front.getValue().byteLength() == 0) {
head = createDStrNode(head.getPosition(), front.isFrozen() && configuration.freezeInterpolatedStrings());
head = createDStrNode(
head.getPosition(),
front.isFrozen() && configuration.freezeInterpolatedStrings());
} else {
head = createDStrNode(head.getPosition(), front.isFrozen() && configuration.freezeInterpolatedStrings()).add(head);
head = createDStrNode(head.getPosition(), front.isFrozen() && configuration.freezeInterpolatedStrings())
.add(head);
}
}
return ((DStrParseNode) head).add(tail);
Expand Down

0 comments on commit ec9bb0a

Please sign in to comment.