Skip to content

Commit

Permalink
Add extra opt()
Browse files Browse the repository at this point in the history
  • Loading branch information
Friendseeker committed Oct 12, 2024
1 parent 7e34dc8 commit 8c4a539
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ class JavaErrorParser(relativeDir: File = new File(new File(".").getAbsolutePath
warningMessage | errorMessage | noteMessage | javacError | javacWarning

val javacOutput: Parser[Seq[Problem]] =
nonProblem ~> rep(potentialProblem) <~ opt(outputSumamry)
opt(nonProblem) ~> rep(potentialProblem) <~ opt(outputSumamry)

/**
* Example:
Expand Down

0 comments on commit 8c4a539

Please sign in to comment.