bringing SDL 1.2.14 from vendor into the main branch
[AROS-Contrib.git] / rexx / inc / lerror.h
blobf2b6a954c1f67b81eb82d0f09ccb76965d7c2753
1 /*
2 * $Header$
3 * $Log$
4 * Revision 1.1 2001/04/04 05:43:36 wang
5 * First commit: compiles on Linux, Amiga, Windows, Windows CE, generic gcc
7 * Revision 1.2 1999/11/29 14:58:00 bnv
8 * Changed: Some defines
10 * Revision 1.1 1998/07/02 17:35:50 bnv
11 * Initial revision
15 #ifndef __ERROR_H__
16 #define __ERROR_H__
18 #include <ldefs.h>
20 #define ERR_MESSAGE 0
21 #define ERR_FINALIZATION 2
22 #define ERR_INITIALIZATION 3
23 #define ERR_PROG_INTERRUPT 4
24 #define ERR_STORAGE_EXHAUSTED 5
25 #define ERR_UNMATCHED_QUOTE 6
26 #define ERR_WHEN_EXCEPTED 7
27 #define ERR_THEN_UNEXCEPTED 8
28 #define ERR_WHEN_UNCEPTED 9
29 #define ERR_UNMATCHED_END 10
32 #define ERR_INVALID_CHAR 13
33 #define ERR_INCOMPLETE_STRUCT 14
34 #define ERR_INVALID_HEX_CONST 15
35 #define ERR_UNEXISTENT_LABEL 16
36 #define ERR_UNEXPECTED_PROC 17
37 #define ERR_THEN_EXPECTED 18
38 #define ERR_STRING_EXPECTED 19
39 #define ERR_SYMBOL_EXPECTED 20
40 #define ERR_EXTRAD_DATA 21
41 #define ERR_INV_CHAR_STRING 22
42 #define ERR_INV_DATA_STRING 23
43 #define ERR_INVALID_TRACE 24
44 #define ERR_INV_SUBKEYWORD 25
45 #define ERR_INVALID_INTEGER 26
46 #define ERR_INVALID_DO_SYNTAX 27
47 #define ERR_INVALID_LEAVE 28
48 #define ERR_ENVIRON_TOO_LONG 29
49 #define ERR_TOO_LONG_STRING 30
50 #define ERR_INVALID_START 31
52 #define ERR_INVALID_RESULT 33
53 #define ERR_UNLOGICAL_VALUE 34
54 #define ERR_INVALID_EXPRESSION 35
55 #define ERR_UNMATCHED_PARAN 36
56 #define ERR_UNEXPECTED_PARAN 37
57 #define ERR_INVALID_TEMPLATE 38
59 #define ERR_INCORRECT_CALL 40
60 #define ERR_BAD_ARITHMETIC 41
61 #define ERR_ARITH_OVERFLOW 42
62 #define ERR_ROUTINE_NOT_FOUND 43
63 #define ERR_NO_DATA_RETURNED 44
64 #define ERR_DATA_NOT_SPEC 45
65 #define ERR_INV_VAR_REFERENCE 46
66 #define ERR_UNEXPECTED_LABEL 47
67 #define ERR_SYSTEM_FAILURE 48
68 #define ERR_INTERPRETER_FAILURE 49
69 #define ERR_UNRECOGNIZED_SYMBOL 50
70 #define ERR_INVALID_FUNCTION 51
71 #define ERR_LONGER_RESULT 52
72 #define ERR_INVALID_OPTION 53
73 #define ERR_INVALID_STEM 54
75 #define ERR_CANT_OPEN_FILE 57
76 #define ERR_FILE_NOT_FOUND 58
77 #define ERR_FILE_NOT_OPENED 59
80 /*#define ERR_PARADOX_ERROR 23*/
81 /*#define ERR_FULL_CTRL_STACK 11*/
82 /*#define ERR_TOO_LONG_LINE 12*/
83 /*#define ERR_STACK_OVERFLOW 39*/
85 /* ------------- error text structure ------------------ */
86 #define ERRNUM(a,b) (((a)<<8) | (b))
87 typedef struct terror_st {
88 word errno;
89 char *errmsg;
90 } ErrorMsg;
92 #endif