Skip to content

Commit

Permalink
Print endLine and endColumn in Os.printParseableMessages.
Browse files Browse the repository at this point in the history
  • Loading branch information
robby-phd committed Aug 28, 2024
1 parent fd05868 commit bac5e4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/jvm/src/main/scala/org/sireum/Os.scala
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ object Os {
text = ops.StringOps(text).replaceAllLiterally("\n", " ")
m.posOpt match {
case Some(pos) if pos.uriOpt.nonEmpty =>
println(s"${Os.Path.fromUri(pos.uriOpt.get)}:${pos.beginLine}:${pos.beginColumn}: $severity: $text")
println(s"${Os.Path.fromUri(pos.uriOpt.get)}:${pos.beginLine}:${pos.beginColumn}:${pos.endLine}:${pos.endColumn}: $severity: $text")
case _ =>
println(s":1:1:$severity:$text")
println(s":1:1:1:1: $severity: $text")
}
}
}
Expand Down

0 comments on commit bac5e4e

Please sign in to comment.