Zip script

This commit is contained in:
Gašper Dobrovoljc
2025-03-08 20:03:53 +01:00
parent 5ed3016bfd
commit 8beef6a118
2 changed files with 9 additions and 1 deletions

View File

@@ -379,7 +379,7 @@ public class LexAn implements AutoCloseable {
nextChar();
if (buffChar != '\'') {
throw new Report.Error(new Report.Location(startLocation, currentLocation()), "Unterminated character.");
throw new Report.Error(new Report.Location(startLocation, currentLocation()), "Invalid character '" + (char) buffChar + "'.");
}
lexeme.append((char) buffChar);