]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
authorGerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
Sat, 15 Jan 2000 03:00:11 +0000 (04:00 +0100)
committerGerald Pfeifer <gerald@gcc.gnu.org>
Sat, 15 Jan 2000 03:00:11 +0000 (03:00 +0000)
From-SVN: r31433

gcc/ChangeLog
gcc/defaults.h

index cd9fbd6223853d4667ead437b683f1422934546d..c94692fbd19219f0cc9303296c651e004b736d41 100644 (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.
index a1f174162a8ead35c6d99c26c44bde690b3d63cc..0018bc159174cb5e91857120a1ba7fa65ca983a0 100644 (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 \"");                    \
          }                                                                   \
        }                                                                     \