1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-03 22:29:31 +00:00

Added special error messages for Groepaz.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3919 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2009-01-30 16:30:27 +00:00
parent 8008a980bb
commit a3aca2ab67

View File

@ -238,7 +238,12 @@ static void CharMapPragma (StrBuf* B)
return;
}
if (Index < 1 || Index > 255) {
Error ("Character index out of range");
if (Index == 0) {
/* For groepaz */
Error ("Remapping 0 is not allowed");
} else {
Error ("Character index out of range");
}
return;
}
@ -255,7 +260,12 @@ static void CharMapPragma (StrBuf* B)
return;
}
if (C < 1 || C > 255) {
Error ("Character code out of range");
if (C == 0) {
/* For groepaz */
Error ("Remapping 0 is not allowed");
} else {
Error ("Character code out of range");
}
return;
}