]> gcc.gnu.org Git - gcc.git/commitdiff
(readescape): Don't complain for \% unless pedantic.
authorRichard Stallman <rms@gnu.org>
Wed, 26 May 1993 06:21:37 +0000 (06:21 +0000)
committerRichard Stallman <rms@gnu.org>
Wed, 26 May 1993 06:21:37 +0000 (06:21 +0000)
From-SVN: r4575

gcc/c-lex.c

index 6c0515bef6086d4751e086b3d3b99e9ff247f643..d83b5dccb6237c0a7ee6266759a80f577301cbbd 100644 (file)
@@ -1012,6 +1012,8 @@ readescape (ignore_ptr)
     case '(':
     case '{':
     case '[':
+      /* `\%' is used to prevent SCCS from getting confused.  */
+    case '%':
       if (pedantic)
        pedwarn ("non-ANSI escape sequence `\\%c'", c);
       return c;
This page took 0.0599 seconds and 5 git commands to generate.