summaryrefslogtreecommitdiff
path: root/gcc/fixinc/fixfixes.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fixinc/fixfixes.c')
-rw-r--r--gcc/fixinc/fixfixes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fixinc/fixfixes.c b/gcc/fixinc/fixfixes.c
index a58c927a684..ad54960d13b 100644
--- a/gcc/fixinc/fixfixes.c
+++ b/gcc/fixinc/fixfixes.c
@@ -374,7 +374,7 @@ FIX_PROC_HEAD( char_macro_use_fix )
continue;
if (!ISALPHA (*p))
continue;
- if (ISALNUM (p[1]) || p[1] == '_')
+ if (ISIDNUM (p[1]))
continue;
/* Splat all preceding text into the output buffer,
@@ -447,7 +447,7 @@ FIX_PROC_HEAD( char_macro_def_fix )
goto found;
p++;
}
- while (ISALPHA (*p) || ISALNUM (*p) || *p == '_');
+ while (ISIDNUM (*p));
/* Hit end of macro name without finding the string. */
continue;
@@ -461,7 +461,7 @@ FIX_PROC_HEAD( char_macro_def_fix )
continue;
if (!ISALPHA (*p))
continue;
- if (ISALNUM (p[1]) || p[1] == '_')
+ if (ISIDNUM (p[1]))
continue;
/* The character at P is the one to look for in the following