/* interpreter errors */
/* 0 is reserved for no error */
#define IE_EVALCOST 1
#define IE_BAD_EFUN_ARG 2
#define IE_BAD_INDEX 3
#define IE_PRIVILEGED 4
#define IE_NOMEM 5
#define IE_BADINCPATH 6 /* set_inc_list(): bad #include path %O */
#define IE_MACROREDEF 7 /* trying to redefine macro %s */
#define IE_INHERIT_DEPTH 8
#define IE_CLONELOAD 9
#define IE_HOOKFAIL 10
#define IE_LAMBDA_ERROR 11
#define IE_UNIMPLEMENTD 12
#define IE_SIGFPE 13
#define IE_UNDEF 14
#define IE_NUM_ERRORS 15
/* compiler errors */
#define CE_SRC_NF 0 /* Source file not found */
#define CE_NL_INC 1
#define CE_NL_STRING 2
#define CE_NL_NUMIF 3 /* Unexpected '\n' / EOF in #if */
#define CE_EOF_INC 4
#define CE_EOF_SKIP 5 /* Unexpected end of file while skipping */
#define CE_EOF_COMMENT 6 /* End of file in a comment */
#define CE_EOF_STRING 7
#define CE_NUMENDIF 8 /* Unexpected #endif */
#define CE_NUMELSE 9 /* Unexpected #else / #elif */
#define CE_NO_NUMELSE 10 /* #else expected for line %d */
#define CE_NO_NUMENDIF 11 /* #endif expected for line %d */
#define CE_UK_PRAGMA 12 /* Unrecognized #pragma */
#define CE_UK_DIRECTIVE 13 /* Unknown # directive */
#define CE_NUMIF_GARBAGE 14 /* Garbage after end of expression in #if */
#define CE_NUMIF_BNPAIRD 15 /* bracket not paired in #if */
#define CE_NUMIF_BADCHAR 16 /* illegal character in #if */
#define CE_NUMIF_IT_UOP 17 /* illegal type to unary operator in #if */
#define CE_NUMIF_ILL_UOP 18 /* illegal unary operator in #if */
#define CE_NUMIF_ILL_OPU 19 /* illegal operator use in #if */
#define CE_NUMIF_QMARK 20 /* '?' without ':' in #if */
#define CE_NUMIF_ERROR 21 /* interpreter error in #if */
#define CE_INC_START 22
#define CE_INC_CONT 23
#define CE_INC_NLEN 24 /* include name length too long */
#define CE_INC_NF 25 /* include file %s not found */
#define CE_INC_MIX 26 /* #include < " */
#define CE_SYNTAX 27
#define CE_ILL_CHARCONST 28 /* Illegal character constant */
#define CE_STACKOVERFLOW 29
#define CE_VOIDARR 30 /* using void * */
#define CE_VARNDECL 31 /* variable %s not declared */
#define CE_VARREDEF 32 /* redefinition of variable %s */
#define CE_NPARAM 33 /* max number of parameters exceeded by %s */
#define CE_DUPPAR 34 /* duplicate parameter %s */
#define CE_FEWEPAR 35 /* Too few parameters to efun %d */
#define CE_MANYEPAR 36 /* Too many parameters to efun %d */
#define CE_BADTYPE 37 /* bad type arg %d to operator/efun %d */
#define CE_NOMASK_SIM 38 /* nomask simul_efun %s */
#define CE_NOMEM 39
#define CE_BADCHAR 40
#define CE_ILLPATH 41 /* illegal path %s */
#define CE_MFILE 42 /* File descriptors exhausted */
#define CE_NFILE 43 /* File table overflow */
#define CE_HOOKFAIL_INC 44 /* bad return value %O */
#define CE_MAPFAIL 45 /* mmap failed */
#define CE_NOCLOSURE_OP 46 /* No closure associated with reserved word %s */
#define CE_CL_NONAME 47 /* Missing function name after #' */
#define CE_CL_FUN_UNDEF 48 /* Function #'%s not defined */
#define CE_CL_VIRT_VAR 49 /* closure of virtual variable */
#define CE_FUNCINDEX 50 /* Too high function index of %s for #' */
#define CE_MREDEF 51 /* redefinition of macro %s */
#define CE_MARG_DUP 52 /* Duplicated macro argument %s */
#define CE_MTEXT_OVERFL 53 /* macro text buffer overflow in #define */
#define CE_MEXP_NUM 54 /* Too many macro expansions */
#define CE_MEXP_NEST 55 /* macro expansion stack overflow */
#define CE_MEXP_NOBRAC 56 /* missing '(' in macro call */
#define CE_DEFD_NOBRAC 57 /* missing ( in defined */
#define CE_DEFD_ENDBRAC 58 /* missing ) in defined */
#define CE_TMODMISMATCH 59 /* using var. type modifiers of func. or vice versa*/
#define CE_NUM_ERRORS 60
#define CW_PARSHADOW 1 /* %s shadows a parameter */