From 55d08b039b9683eedd89e2dee17bc2a347057633 Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Sun, 21 Sep 2014 10:35:22 +0200 Subject: Error instead of warning on illegal escape sequences. The previous behavior for illegal escape sequences (e.g. '\%') in character and string literals was to emit an error, then treat "\x" as "x". As reported by a user, this is dangerous, because the warning can go unnoticed, and other compilers can treat "\x" as "\\x" (backslash followed by 'x'). Better to error out. --- Changelog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Changelog') diff --git a/Changelog b/Changelog index baa2b8a2..5bf091ec 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,7 @@ +- In string and character literals, treat illegal escape sequences + (e.g. "\%" or "\0") as an error instead of a warning. + + Release 2.4, 2014-09-17 ======================= -- cgit