diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-08 06:51:23 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-08 06:51:23 +0000 |
commit | 38330f30a2865c1f371c1399622686a9abefaa1d (patch) | |
tree | d3da13fb9f076103bbf7f7786f2153feff6380a3 /gcc/cexp.y | |
parent | 39e7c74f778f32255a6dc7513ce84f3dc1b02cb1 (diff) | |
download | gcc-38330f30a2865c1f371c1399622686a9abefaa1d.tar.gz |
Linas Vepstas <linas@linas.org>
* c-common.c: Use ISGRAPH, ISLOWER, toupper.
* c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
* system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
* defaults.h (TARGET_ESC): Add default.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29192 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cexp.y')
-rw-r--r-- | gcc/cexp.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cexp.y b/gcc/cexp.y index 9364ac3a8a0..e7372aa3ac8 100644 --- a/gcc/cexp.y +++ b/gcc/cexp.y @@ -853,7 +853,7 @@ parse_escape (string_ptr, result_mask) case 'E': if (pedantic) pedwarn ("non-ANSI-standard escape sequence, `\\%c'", c); - return 033; + return TARGET_ESC; case 'f': return TARGET_FF; case 'n': @@ -1113,9 +1113,9 @@ initialize_random_junk () * refer to them. */ for (i = 'a'; i <= 'z'; i++) { - ++is_idchar[i - 'a' + 'A']; + ++is_idchar[toupper(i)]; ++is_idchar[i]; - ++is_idstart[i - 'a' + 'A']; + ++is_idstart[toupper(i)]; ++is_idstart[i]; } for (i = '0'; i <= '9'; i++) |