xref: /original-bsd/usr.bin/struct/struct/4.def.h (revision c3e32dec)
1 /*-
2  * %sccs.include.proprietary.c%
3  *
4  *	@(#)4.def.h	8.1 (Berkeley) 06/06/93
5  */
6 
7 #define YESTAB	TRUE
8 #define NOTAB	FALSE
9 #define TABOVER(n)	tabover(n,outfd)
10 #define OUTSTR(x)		fprintf(outfd,"%s",x)
11 #define OUTNUM(x)		fprintf(outfd,"%d",x)
12 
13 
14 extern LOGICAL *brace;
15 #define YESBRACE(v,i)	{ if (DEFINED(LCHILD(v,i))) brace[LCHILD(v,i)] = TRUE; }
16 #define NOBRACE(v,i)	{ if (DEFINED(LCHILD(v,i))) brace[LCHILD(v,i)] = FALSE; }
17 #define HASBRACE(v,i)	 ((DEFINED(LCHILD(v,i))) ? brace[LCHILD(v,i)] : TRUE)
18