aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-04-09 21:47:48 +0000
committerRichard Stallman <rms@gnu.org>1993-04-09 21:47:48 +0000
commitf6cb348739015ef80fbc89a1aacc6a5e40d087fe (patch)
treed153ea49d479abe59fb5c8a6a7aa73f2e7b2a2e1 /gcc
parentb539a651699bd3d0ff65c147038d1404e1156220 (diff)
downloadgcc-f6cb348739015ef80fbc89a1aacc6a5e40d087fe.zip
gcc-f6cb348739015ef80fbc89a1aacc6a5e40d087fe.tar.gz
gcc-f6cb348739015ef80fbc89a1aacc6a5e40d087fe.tar.bz2
More of previous change.
From-SVN: r4060
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-lex.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index ae3984b..3aca4c4 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -1714,6 +1714,10 @@ yylex ()
if (width < HOST_BITS_PER_INT
&& (unsigned) c >= (1 << width))
pedwarn ("escape sequence out of range for character");
+#ifdef MAP_CHARACTER
+ if (isprint (c))
+ c = MAP_CHARACTER (c);
+#endif
}
else if (c == '\n')
{