This commit was generated by cvs2svn to compensate for changes in r4,
which included commits to RCS files with non-trunk default branches. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@5 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
34
H/yerror.h
Normal file
34
H/yerror.h
Normal file
@@ -0,0 +1,34 @@
|
||||
/*************************************************************************
|
||||
* *
|
||||
* YAP Prolog %W% %G%
|
||||
* *
|
||||
* Yap Prolog was developed at NCCUP - Universidade do Porto *
|
||||
* *
|
||||
* Copyright L.Damas, V.S.Costa and Universidade do Porto 1985-1997 *
|
||||
* *
|
||||
**************************************************************************
|
||||
* *
|
||||
* File: error.h *
|
||||
* Last rev: 19/2/88 *
|
||||
* mods: *
|
||||
* comments: Error handling header file *
|
||||
* *
|
||||
*************************************************************************/
|
||||
|
||||
/* The behaviour of ErrorHandler is set by these flags :
|
||||
|
||||
CONTINUE_AFTER_ERROR: return to the caller, who should take the necessary
|
||||
measures.
|
||||
ABORT_AFTER_ERROR: output the message, and then abort, back to the
|
||||
top level.
|
||||
EXIT_AFTER_ERROR: output the message, and exit Prolog
|
||||
|
||||
*/
|
||||
|
||||
#define CONTINUE_AFTER_ERROR 0
|
||||
#define ABORT_AFTER_ERROR 1
|
||||
#define EXIT_AFTER_ERROR 2
|
||||
|
||||
|
||||
extern int STD_PROTO(ErrorHandler,(char *,int));
|
||||
|
||||
Reference in New Issue
Block a user