diff options
author | Richard Stallman <rms@gnu.org> | 1993-02-02 22:14:40 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-02-02 22:14:40 +0000 |
commit | b670485b6a73554456655d6881ddd17ba017d51c (patch) | |
tree | e0eb3833dfc6cdd0b3c5bcc86236725618f3e3d0 /gcc/cexp.y | |
parent | 585ec9386cc539f04cf45ffcb6146baa75f4f620 (diff) | |
download | gcc-b670485b6a73554456655d6881ddd17ba017d51c.zip gcc-b670485b6a73554456655d6881ddd17ba017d51c.tar.gz gcc-b670485b6a73554456655d6881ddd17ba017d51c.tar.bz2 |
(parse_escape): Support \E and \e like cc1:
they mean \033, and they generate a warning if pedantic.
From-SVN: r3410
Diffstat (limited to 'gcc/cexp.y')
-rw-r--r-- | gcc/cexp.y | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |