diff options
author | tegge <tegge@FreeBSD.org> | 2001-10-14 21:11:33 +0000 |
---|---|---|
committer | tegge <tegge@FreeBSD.org> | 2001-10-14 21:11:33 +0000 |
commit | e6528784cfe2f8c882b7d634b156cf89bdf15067 (patch) | |
tree | 9d34441607c3034c1d0f5122472b8188b023b8d8 /bin/sh/mksyntax.c | |
parent | e88ec516d1d88aea8eba01074487cceddb382d34 (diff) | |
download | FreeBSD-src-e6528784cfe2f8c882b7d634b156cf89bdf15067.zip FreeBSD-src-e6528784cfe2f8c882b7d634b156cf89bdf15067.tar.gz |
Repair normally unused is_digit() macro.
Diffstat (limited to 'bin/sh/mksyntax.c')
-rw-r--r-- | bin/sh/mksyntax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/mksyntax.c b/bin/sh/mksyntax.c index d4a1cd8..437c435 100644 --- a/bin/sh/mksyntax.c +++ b/bin/sh/mksyntax.c @@ -351,7 +351,7 @@ print(name) */ static char *macro[] = { - "#define is_digit(c)\t((c >= 0 && is_type+SYNBASE)[c] & ISDIGIT)", + "#define is_digit(c)\t((is_type+SYNBASE)[c] & ISDIGIT)", "#define is_alpha(c)\t((c) != PEOF && ((c) < CTLESC || (c) > CTLQUOTEMARK) && isalpha((unsigned char) (c)))", "#define is_name(c)\t((c) != PEOF && ((c) < CTLESC || (c) > CTLQUOTEMARK) && ((c) == '_' || isalpha((unsigned char) (c))))", "#define is_in_name(c)\t((c) != PEOF && ((c) < CTLESC || (c) > CTLQUOTEMARK) && ((c) == '_' || isalnum((unsigned char) (c))))", |