diff --git a/src/pins25/phase/LexAn.java b/src/pins25/phase/LexAn.java index 20d3bff..76d8deb 100644 --- a/src/pins25/phase/LexAn.java +++ b/src/pins25/phase/LexAn.java @@ -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); diff --git a/zip.sh b/zip.sh new file mode 100644 index 0000000..1110d9c --- /dev/null +++ b/zip.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +mkdir pins25 +rsync -av --exclude=".*" ./src ./pins25 +rsync -av --exclude=".*" --exclude="*.pins" ./prg ./pins25 +rm ./pins25/prg/*.pins +zip -r 63230048.zip ./pins25 +rm -rf ./pins25 \ No newline at end of file