/* -------- errs.h -------- */

#ifndef ERRS_H
#define ERRS_H

enum errorcode {
	TRAPERR = 1,
	NOTPTRERR,
	ADDRERR,
	NOTARRAYERR,
	STRUCTPTRERR,
	RBRACERR,
	DECLARERR,
	FILERR,
	LBRACERR,
	LEXERR,
	LINKERR,
	LVALERR,
	MDEFERR,
	POPERR,
	PUSHERR,
	RPARENERR,
	EXPRERR,
	SYNTAXERR,
	DEPTHERR,
	MDIMERR,
	PTROPERR,
	FUNCERR,
	SEMIERR,
	STRUCERR,
	ELEMERR,
	INITERR,
	DIV0ERR,
	SIZERR,
	BREAKERR,
	CONTERR,
	FPEERR,
	TMDEFERR,
	DEFINERR,
	OMERR,
	SUBSERR,
	LPARENERR,
	BADLBRACERR,
	COLONERR,
	WHILERR,
	BADVARERR,
	COMMAERR,
	ENUMERR,
	VOIDRETERR,
	MISMATCHERR,
	NULLRETERR,
	REDEFERR,
	INCOMPATERR,
	NOFUNCERR,
	NOIDENTERR,
	VOIDPTRERR,
	NOTNUMERR,
	INCOMPTYPERR,
	UNTERMCOMMENT,
	TYPERR,
	TOOMANYVARERR,
	TOOMANYFUNCERR,
	DATASPACERR,
	NOSETJMPERR,
	CTRLBREAK,
	LINETOOLONGERR,
	BADPREPROCERR,
	REDEFPPERR,
	ENDIFERR,
	ELSEERR,
	ELIFERR,
	INCLUDEERR,
	IFSERR,
	UNTERMSTRERR,
	UNTERMCONSTERR,
	IFERR,
	ARGERR,
	STDINFILERR,
	STDOUTFILERR,
	NOMAINERR,
	SYMBOLTABLERR,
	CONSTEXPRERR,
	GOTOERR,
	ELSERR,
	SWITCHERR,
	DEFAULTERR,
	CASERR,
	TOOMANYDEFAULTSERR,
	FUNCNAMERR,
	TYPEDEFERR,
	DECLERR,
	STRINGIZERR,
	PTRCOMPERR,
	INTTYPERR,
	MATHERR,
	REGADDRERR,
	UNRESOLVEDERR,
	UNDEFUNCERR,
	TOOMANYINITERR,
	CONSTARGERR,
	INCLUDENESTERR,
	IFNESTERR,
	ERRORERR,
	ASSERTERR
};

#endif
