Simplify expression

This commit is contained in:
Andrey A. Chernov 1996-08-12 12:31:28 +00:00
parent 351472c6df
commit 917de9be32
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17538

View File

@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: mksyntax.c,v 1.2 1994/09/24 02:57:57 davidg Exp $
* $Id: mksyntax.c,v 1.3 1996/08/11 22:50:59 ache Exp $
*/
#ifndef lint
@ -330,7 +330,7 @@ char *macro[] = {
"#define is_digit(c)\t((is_type+SYNBASE)[c] & ISDIGIT)",
"#define is_alpha(c)\t((c) != PEOF && isalpha((unsigned char) (c)))",
"#define is_name(c)\t((c) != PEOF && ((c) == '_' || isalpha((unsigned char) (c))))",
"#define is_in_name(c)\t((c) != PEOF && ((c) == '_' || isdigit((unsigned char) (c)) || isalpha((unsigned char) (c))))",
"#define is_in_name(c)\t((c) != PEOF && ((c) == '_' || isalnum((unsigned char) (c))))",
"#define is_special(c)\t((is_type+SYNBASE)[c] & (ISSPECL|ISDIGIT))",
NULL
};