xref: /csrg-svn/old/sdb/mac.h (revision 9902)
1*9902Ssam /* "@(#)mac.h 4.3 12/24/82" */
21335Sbill #
31335Sbill /*
41335Sbill  *	UNIX debugger
51335Sbill  */
61335Sbill 
71335Sbill #define TYPE	typedef
81335Sbill #define STRUCT	struct
91335Sbill #define UNION	union
101335Sbill #define REG	register
111335Sbill 
121335Sbill #define BEGIN	{
131335Sbill #define END	}
141335Sbill 
151335Sbill #define IF	if(
161335Sbill #define THEN	){
171335Sbill #define ELSE	} else {
181335Sbill #define ELIF	} else if (
191335Sbill #define FI	}
201335Sbill 
211335Sbill #define FOR	for(
221335Sbill #define WHILE	while(
231335Sbill #define DO	){
241335Sbill #define OD	}
251335Sbill #define REP	do{
261335Sbill #define PER	}while(
27*9902Ssam #undef DONE
281335Sbill #define DONE	);
291335Sbill #define LOOP	for(;;){
301335Sbill #define POOL	}
311335Sbill 
321335Sbill #define SKIP	;
331335Sbill #define DIV	/
341335Sbill #define REM	%
351335Sbill #define NEQ	^
361335Sbill #define ANDF	&&
371335Sbill #define ORF	||
381335Sbill 
391335Sbill #define TRUE	 (-1)
401335Sbill #define FALSE	0
411335Sbill #define LOBYTE	0377
421335Sbill #define HIBYTE	0177400
431335Sbill #define STRIP	0177
441335Sbill #define HEXMSK	017
451335Sbill 
461335Sbill #define SP	' '
471335Sbill #define TB	'\t'
481335Sbill #define NL	'\n'
491335Sbill 
501335Sbill #define SCCSID(arg) static char Sccsid[] = "arg"
51