diff options
Diffstat (limited to 'gcc/fix-header.c')
-rw-r--r-- | gcc/fix-header.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fix-header.c b/gcc/fix-header.c index b197371c22a..5ee5d95cef8 100644 --- a/gcc/fix-header.c +++ b/gcc/fix-header.c @@ -933,13 +933,13 @@ inf_scan_ident (s, c) int c; { s->ptr = s->base; - if (ISALPHA (c) || c == '_') + if (ISIDST (c)) { for (;;) { SSTRING_PUT (s, c); c = INF_GET (); - if (c == EOF || !(ISALNUM (c) || c == '_')) + if (c == EOF || !(ISIDNUM (c))) break; } } @@ -1250,7 +1250,7 @@ main (argc, argv) c = INF_GET (); if (c == EOF) break; - if (ISALPHA (c) || c == '_') + if (ISIDST (c)) { c = inf_scan_ident (&buf, c); (void) INF_UNGET (c); |