Skip to content

Commit 25e94ef

Browse files
committed
style fix
1 parent 398c261 commit 25e94ef

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

graalpython/com.oracle.graal.python.pegparser/src/com/oracle/graal/python/pegparser/AbstractParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public SSTNode parse() {
179179
SSTNode res = runParser(startRule);
180180
if (res == null) {
181181
if (flags.contains(Flags.ALLOW_INCOMPLETE_INPUT) &&
182-
(tokenizer.getDone() == StatusCode.EOF || tokenizer.getDone() == StatusCode.EOF_IN_SINGLE_QUOTED_STRING || tokenizer.getDone() == StatusCode.EOF_IN_TRIPLE_QUOTED_STRING)) {
182+
(tokenizer.getDone() == StatusCode.EOF || tokenizer.getDone() == StatusCode.EOF_IN_SINGLE_QUOTED_STRING || tokenizer.getDone() == StatusCode.EOF_IN_TRIPLE_QUOTED_STRING)) {
183183
throw raiseSyntaxError("incomplete input");
184184
}
185185
Token lastToken = getFill() > 0 ? peekToken(getFill() - 1) : null;

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/PythonLanguage.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,8 @@ private static Source tryLoadSource(PythonContext context, CodeUnit code, boolea
629629
}
630630
}
631631

632-
public RootCallTarget parse(PythonContext context, Source source, InputType type, boolean topLevel, int optimize, boolean interactiveTerminal, List<String> argumentNames, EnumSet<FutureFeature> futureFeatures) {
632+
public RootCallTarget parse(PythonContext context, Source source, InputType type, boolean topLevel, int optimize, boolean interactiveTerminal, List<String> argumentNames,
633+
EnumSet<FutureFeature> futureFeatures) {
633634
return parse(context, source, type, topLevel, optimize, interactiveTerminal, false, argumentNames, futureFeatures);
634635
}
635636

0 commit comments

Comments
 (0)