aboutsummaryrefslogtreecommitdiffstats
path: root/Changelog
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2014-09-21 10:35:22 +0200
committerXavier Leroy <xavier.leroy@inria.fr>2014-09-21 10:35:22 +0200
commit55d08b039b9683eedd89e2dee17bc2a347057633 (patch)
tree165694754c9e32e912af0268a58ee28f461cdf33 /Changelog
parent4414aaa31fe17d0e6bed88e708e134b7d4c09334 (diff)
downloadcompcert-kvx-55d08b039b9683eedd89e2dee17bc2a347057633.tar.gz
compcert-kvx-55d08b039b9683eedd89e2dee17bc2a347057633.zip
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.
Diffstat (limited to 'Changelog')
-rw-r--r--Changelog4
1 files changed, 4 insertions, 0 deletions
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
=======================