diff options
author | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-01-15 03:00:11 +0000 |
---|---|---|
committer | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-01-15 03:00:11 +0000 |
commit | 156946bb89b61da376587ac1fc005c33504b5360 (patch) | |
tree | 37498682a3774cf37425945256a8dbc9bc484928 /gcc/defaults.h | |
parent | 1424d856a75133aceaadb6bb57f76d7c5f0abd00 (diff) | |
download | gcc-156946bb89b61da376587ac1fc005c33504b5360.tar.gz |
* defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31433 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r-- | gcc/defaults.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h index a1f174162a8..0018bc15917 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 \""); \ } \ } \ |