home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Vectronix 2
/
VECTRONIX2.iso
/
FILES_01
/
X_PROLOG.LZH
/
X_PROLOG
/
SOURCES
/
ERROR.H
< prev
next >
Wrap
Text File
|
1990-08-13
|
1KB
|
44 lines
/*
* X PROLOG Vers. 2.0
*
*
* Written by : Andreas Toenne
* CS Dept. , IRB
* University of Dortmund, W-Germany
* <at@unido.uucp>
* <....!seismo!unido!at>
* <at@unido.bitnet>
*
* Copyright : This software is copyrighted by Andreas Toenne.
* Permission is granted hereby to copy the entire
* package including this copyright notice without fee.
*
*/
/* Definitions of all system errors */
/* System errors are fatal */
#define NOERROR 0 /* all is fine */
#define NOMEMORY 1 /* running very short of memory */
#define PROTOFULL 2 /* prototype stack is full */
#define COPYFULL 3 /* copystack is full */
#define NOGOAL 4 /* no main goal for machine given */
#define EXITUS 5 /* main goal has finished */
#define TRAILFULL 6 /* trailstack is full */
#define CLAUSEFULL 7 /* clause space used up */
#define NOERRORCLAUSE 8 /* an error without errorclause has occured */
#define FUNCTORFULL 9 /* functor space is full */
#define BADBOOT 10 /* error while booting */
#define BADIMAGE 11 /* bad prolog image */
#define STACKFULL 12 /* the stack is full */
/* Soft Errors */
#define ENOCLAUSE 1 /* clause not found */
#define EIO 2 /* general io error */
#define EEOF 3 /* read from end of file */
#define ESYNTAX 4 /* a syntax error */
#define ETOOMANY 5 /* too many vars/args */
#define EBAD 6 /* generally bad arguments */
#define EEVAL 7 /* error in expression */