(parse_escape): Support \E and \e like cc1:
they mean \033, and they generate a warning if pedantic. From-SVN: r3410
This commit is contained in:
parent
585ec9386c
commit
b670485b6a
|
@ -748,6 +748,9 @@ parse_escape (string_ptr)
|
|||
case 'b':
|
||||
return TARGET_BS;
|
||||
case 'e':
|
||||
case 'E':
|
||||
if (pedantic)
|
||||
pedwarn ("non-ANSI-standard escape sequence, `\\%c'", c);
|
||||
return 033;
|
||||
case 'f':
|
||||
return TARGET_FF;
|
||||
|
|
Loading…
Reference in New Issue