Commit 3285fe92 by Richard Stallman

(readescape): Don't complain for \% unless pedantic.

From-SVN: r4575
parent 208dffa5
...@@ -1012,6 +1012,8 @@ readescape (ignore_ptr) ...@@ -1012,6 +1012,8 @@ readescape (ignore_ptr)
case '(': case '(':
case '{': case '{':
case '[': case '[':
/* `\%' is used to prevent SCCS from getting confused. */
case '%':
if (pedantic) if (pedantic)
pedwarn ("non-ANSI escape sequence `\\%c'", c); pedwarn ("non-ANSI escape sequence `\\%c'", c);
return c; return c;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment