mirror of
https://github.com/cc65/cc65.git
synced 2025-01-12 17:30:50 +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:
parent
8008a980bb
commit
a3aca2ab67
@ -238,7 +238,12 @@ static void CharMapPragma (StrBuf* B)
|
||||
return;
|
||||
}
|
||||
if (Index < 1 || Index > 255) {
|
||||
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) {
|
||||
if (C == 0) {
|
||||
/* For groepaz */
|
||||
Error ("Remapping 0 is not allowed");
|
||||
} else {
|
||||
Error ("Character code out of range");
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user