sponsorship link.

error sorting.
version.
This commit is contained in:
Irmen de Jong 2024-01-19 20:04:29 +01:00
parent cc22861719
commit 0f83dc6491
4 changed files with 10 additions and 9 deletions

View File

@ -1,3 +1,4 @@
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/H2H6S0FFF)
[![Documentation](https://readthedocs.org/projects/prog8/badge/?version=latest)](https://prog8.readthedocs.io/) [![Documentation](https://readthedocs.org/projects/prog8/badge/?version=latest)](https://prog8.readthedocs.io/)
Prog8 - Structured Programming Language for 8-bit 6502/65c02 microprocessors Prog8 - Structured Programming Language for 8-bit 6502/65c02 microprocessors

View File

@ -5,11 +5,11 @@ package prog8.buildversion
*/ */
const val MAVEN_GROUP = "prog8" const val MAVEN_GROUP = "prog8"
const val MAVEN_NAME = "compiler" const val MAVEN_NAME = "compiler"
const val VERSION = "10.0-SNAPSHOT" const val VERSION = "10.0"
const val GIT_REVISION = 4405 const val GIT_REVISION = -1
const val GIT_SHA = "69075376dc26f06b7422f47529f90577f4213aaf" const val GIT_SHA = "cc22861719e36ed842d00d6ca7c29792c2c37b9f"
const val GIT_DATE = "2024-01-17T20:24:41Z" const val GIT_DATE = "2024-01-19T18:26:41Z"
const val GIT_BRANCH = "master" const val GIT_BRANCH = "master"
const val BUILD_DATE = "2024-01-17T21:46:56Z" const val BUILD_DATE = "2024-01-19T18:58:11Z"
const val BUILD_UNIX_TIME = 1705528016840L const val BUILD_UNIX_TIME = 1705690691084L
const val DIRTY = 1 const val DIRTY = 1

View File

@ -33,7 +33,7 @@ internal class ErrorReporter: IErrorReporter {
var numErrors = 0 var numErrors = 0
var numWarnings = 0 var numWarnings = 0
var numInfos = 0 var numInfos = 0
messages.forEach { messages.sortedWith(compareBy({it.position.file}, {it.position.line}, {it.severity})).forEach {
val printer = when(it.severity) { val printer = when(it.severity) {
MessageSeverity.INFO -> System.out MessageSeverity.INFO -> System.out
MessageSeverity.WARNING -> System.out MessageSeverity.WARNING -> System.out

View File

@ -5,4 +5,4 @@ org.gradle.daemon=true
kotlin.code.style=official kotlin.code.style=official
javaVersion=11 javaVersion=11
kotlinVersion=1.9.22 kotlinVersion=1.9.22
version=10.0-SNAPSHOT version=10.0