/*
*	debug macros
*
*	92.10.18.	Ogochan	V0.0 create & release
*/

#ifndef	byte
#define	byte	unsigned char
#endif

#ifdef	TRACE
#define	CASE(x)				case	(x):printf("%s\n",#x)
#define	dbgmsg(x)			(printf("%s\n",(x)),fflush(stdout))
#define	PASS(x)				printf("%s(%d):%s\n",__FILE__,__LINE__,(x))
#define	DUMP_VALUE(val)		printf("%s:%ld\n",#val,(long)(val))
#else
#define	CASE(x)				case	(x):
#define	dbgmsg(x)			/*	*/
#define	PASS(x)				/*	*/
#define	DUMP_VALUE(val)		/*	*/
#endif

#define	ERROR
