/* l2xiidbg.h   for debugging LTX2X interpreter code */
/* BASED ON: idebug.h  (unaltered) */

#ifndef idebug_h
#define idebug_h

extern int DEBUG;            /* debugging severity, 0 = no debug */
extern int Dbasic;           /* DEBUG >= Dbasic  basic debugging */
extern int Dtrace;           /* DEBUG >= Dtrace debug routine call tree */
extern int Dscan;            /* DEBUG >= Dscan  debug scan source buffer */
extern int Dstack;           /* DEBUG >= Dstack  debug runtime stack */
extern int Danalyze;         /* DEBUG >= Danalyze  debug declarations */
extern int Dtraceall;        /* DEBUG >= Dtraceall  debug all code */
extern char dbuffer[];       /* a buffer for debugging use */

/* debug_print(STRING string); print a debugging string */

 /* entry_debug and exit_debug must be used as a pair */
/* entry_debug(STRING name); print routine "name-string" at routine entry */
/* exit_debug(STRING name);  print routine "name-string" at routine exit */

#endif