diff options
author | Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | 2000-01-15 04:00:11 +0100 |
---|---|---|
committer | Gerald Pfeifer <gerald@gcc.gnu.org> | 2000-01-15 03:00:11 +0000 |
commit | d07ecc3bdf8bc2a5d055405bdc0b51c04237fc5d (patch) | |
tree | 37498682a3774cf37425945256a8dbc9bc484928 | |
parent | f2aabbd80d97e60361f5017aa142814ea946a252 (diff) | |
download | gcc-d07ecc3bdf8bc2a5d055405bdc0b51c04237fc5d.zip gcc-d07ecc3bdf8bc2a5d055405bdc0b51c04237fc5d.tar.gz gcc-d07ecc3bdf8bc2a5d055405bdc0b51c04237fc5d.tar.bz2 |
* defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
From-SVN: r31433
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/defaults.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cd9fbd6..c94692f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> + + * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT. + 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com> * config.in: Rebuilt for 2000-01-13 change to acconfig.h. diff --git a/gcc/defaults.h b/gcc/defaults.h index a1f1741..0018bc1 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -90,8 +90,7 @@ do { ASM_OUTPUT_LABEL(FILE,LABEL_ALTERNATE_NAME (INSN)); } while (0) The Vax assembler fails to stop reading the escape \ after three digits, so this is the only way we \ can get it to parse the data properly. */ \ - if (i < thissize - 1 \ - && p[i + 1] >= '0' && p[i + 1] <= '9') \ + if (i < thissize - 1 && ISDIGIT(p[i + 1])) \ fprintf (asm_out_file, "\"\n\t.ascii \""); \ } \ } \ |