(readescape): Don't complain for \% unless pedantic.
From-SVN: r4575
This commit is contained in:
parent
208dffa5cd
commit
3285fe92de
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user