* defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.

From-SVN: r31433
This commit is contained in:
Gerald Pfeifer 2000-01-15 04:00:11 +01:00 committed by Gerald Pfeifer
parent f2aabbd80d
commit d07ecc3bdf
2 changed files with 5 additions and 2 deletions

View File

@ -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.

View File

@ -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 \""); \
} \
} \