From: Greg King Date: Tue, 21 Aug 2018 12:55:49 +0000 (-0400) Subject: Made cc65's "Illegal escaped character" diagnostic show which code was escaped. X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=31461aaf0204aaaf9807008c2bd1a7fde6097f3b;p=cc65 Made cc65's "Illegal escaped character" diagnostic show which code was escaped. --- diff --git a/src/cc65/scanner.c b/src/cc65/scanner.c index 90c0f73f6..8605f55a5 100644 --- a/src/cc65/scanner.c +++ b/src/cc65/scanner.c @@ -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 {