1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-14 14:26:27 +00:00

Made cc65's "Illegal escaped character" diagnostic show which code was escaped.

This commit is contained in:
Greg King
2018-08-21 08:55:49 -04:00
parent f3ef819b43
commit 31461aaf02

View File

@@ -347,8 +347,8 @@ static int ParseChar (void)
Error ("Octal character constant out of range");
break;
default:
Error ("Illegal escaped character");
C = CurC;
Error ("Illegal escaped character: 0x%02X", CurC);
break;
}
} else {