From f6cb348739015ef80fbc89a1aacc6a5e40d087fe Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Fri, 9 Apr 1993 21:47:48 +0000 Subject: More of previous change. From-SVN: r4060 --- gcc/c-lex.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/c-lex.c') 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') { -- cgit v1.1