Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
pertsevpv committed Dec 5, 2024
1 parent edf4967 commit 93164c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ protected int[] getIntsWithLinesIntervalNode() {
}

protected void throwIfError(ErrorHighlightingStrategy strategy) {
if (strategy.haveParseErrors && throwOnError()) throw new ParseCancellationException();
if (strategy.haveParseErrors && throwOnError()) throw new RuntimeException();
}

protected boolean throwOnError() {
Expand Down

0 comments on commit 93164c8

Please sign in to comment.