Zip script
This commit is contained in:
parent
5ed3016bfd
commit
8beef6a118
@ -379,7 +379,7 @@ public class LexAn implements AutoCloseable {
|
|||||||
|
|
||||||
nextChar();
|
nextChar();
|
||||||
if (buffChar != '\'') {
|
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);
|
lexeme.append((char) buffChar);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user