From 31461aaf0204aaaf9807008c2bd1a7fde6097f3b Mon Sep 17 00:00:00 2001 From: Greg King Date: Tue, 21 Aug 2018 08:55:49 -0400 Subject: [PATCH] Made cc65's "Illegal escaped character" diagnostic show which code was escaped. --- src/cc65/scanner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5