diff options
Diffstat (limited to 'gcc/scan.c')
-rw-r--r-- | gcc/scan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/scan.c b/gcc/scan.c index e9a9a4b5d25..892daaefdc7 100644 --- a/gcc/scan.c +++ b/gcc/scan.c @@ -63,13 +63,13 @@ scan_ident (fp, s, c) int c; { s->ptr = s->base; - if (ISALPHA(c) || c == '_') + if (ISIDST(c)) { for (;;) { SSTRING_PUT(s, c); c = getc (fp); - if (c == EOF || !(ISALNUM(c) || c == '_')) + if (c == EOF || ! ISIDNUM(c)) break; } } @@ -222,7 +222,7 @@ get_token (fp, s) c = INT_TOKEN; goto done; } - if (ISALPHA (c) || c == '_') + if (ISIDST (c)) { c = scan_ident (fp, s, c); ungetc (c, fp); |