/* l2xierr.h   for LTX2X interpreter */

#ifndef error_h
#define error_h

#define MAX_SYNTAX_ERRORS 25

/* error codes */


 /* parser error codes */
typedef enum {
#define petc(a, b) a,
#define pwtc(a, b)
#define rtetc(a, b)
#define rtwtc(a, b)
#include "l2xiertc.h"
#undef petc
#undef pwtc
#undef rtetc
#undef rtwtc
} ERROR_CODE;

 /* parser warning codes */
typedef enum {
#define petc(a, b)
#define pwtc(a, b) a,
#define rtetc(a, b)
#define rtwtc(a, b)
#include "l2xiertc.h"
#undef petc
#undef pwtc
#undef rtetc
#undef rtwtc
} WARNING_CODE;

 /* runtime error codes */
typedef enum {
#define petc(a, b)
#define pwtc(a, b)
#define rtetc(a, b) a,
#define rtwtc(a, b)
#include "l2xiertc.h"
#undef petc
#undef pwtc
#undef rtetc
#undef rtwtc
} RUNTIME_ERROR_CODE;

 /* runtime warning codes */
typedef enum {
#define petc(a, b)
#define pwtc(a, b)
#define rtetc(a, b)
#define rtwtc(a, b) a,
#include "l2xiertc.h"
#undef petc
#undef pwtc
#undef rtetc
#undef rtwtc
} RUNTIME_WARNING_CODE;


#endif