1 /*
2     $Id: errors_e.h 2620 2021-04-25 12:05:16Z soci $
3 
4     This program is free software; you can redistribute it and/or modify
5     it under the terms of the GNU General Public License as published by
6     the Free Software Foundation; either version 2 of the License, or
7     (at your option) any later version.
8 
9     This program is distributed in the hope that it will be useful,
10     but WITHOUT ANY WARRANTY; without even the implied warranty of
11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12     GNU General Public License for more details.
13 
14     You should have received a copy of the GNU General Public License along
15     with this program; if not, write to the Free Software Foundation, Inc.,
16     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17 
18 */
19 #ifndef ERRORS_E_H
20 #define ERRORS_E_H
21 
22 /* ---------------------------------------------------------------------------
23    $00-$3f warning
24    $40-$7f error
25    $80-$bf fatal
26 */
27 
28 typedef enum Error_types {
29     ERROR____OLD_MODULO = 0x00,
30     ERROR_______OLD_NEQ,
31     ERROR______OLD_GOTO,
32     ERROR____OLD_STRING,
33     ERROR_______OLD_ENC,
34     ERROR__CONST_RESULT,
35     ERROR____IND_RESULT,
36 #ifdef _WIN32
37     ERROR___INSENSITIVE,
38 #endif
39 #if defined _WIN32 || defined __WIN32__ || defined __MSDOS__ || defined __DOS__
40     ERROR_____BACKSLASH,
41 #else
42     ERROR__RESERVED_CHR,
43 #endif
44     ERROR_ABSOLUTE_PATH,
45     ERROR_WUSER_DEFINED,
46     ERROR___OPTIMIZABLE,
47     ERROR______SIMPLIFY,
48     ERROR_____REDUNDANT,
49     ERROR_____OLD_EQUAL,
50     ERROR_NONIMMEDCONST,
51     ERROR_FLOAT_COMPARE,
52     ERROR_LEADING_ZEROS,
53     ERROR_DIRECTIVE_IGN,
54     ERROR___LONG_BRANCH,
55     ERROR___FLOAT_ROUND,
56 
57     ERROR__DOUBLE_RANGE = 0x40,
58     ERROR_DOUBLE_ESCAPE,
59     ERROR_EXTRA_CHAR_OL,
60     ERROR_NOT_TWO_CHARS,
61     ERROR_NUMERIC_OVERF,
62     ERROR_GENERL_SYNTAX,
63     ERROR_EXPRES_SYNTAX,
64     ERROR_LABEL_REQUIRE,
65     ERROR_DIVISION_BY_Z,
66     ERROR_NO_ZERO_VALUE,
67     ERROR___NO_HIGH_BIT,
68     ERROR__BYTES_NEEDED,
69     ERROR___NO_LAST_GAP,
70     ERROR_CANT_CROSS_BA,
71     ERROR_OUTOF_SECTION,
72     ERROR_NEGFRAC_POWER,
73     ERROR_ZERO_NEGPOWER,
74     ERROR_SQUARE_ROOT_N,
75     ERROR_LOG_NON_POSIT,
76     ERROR___MATH_DOMAIN,
77     ERROR___EMPTY_RANGE,
78     ERROR__EMPTY_STRING,
79     ERROR____EMPTY_LIST,
80     ERROR__NOT_ONE_CHAR,
81     ERROR_REQUIREMENTS_,
82     ERROR______CONFLICT,
83     ERROR___INDEX_RANGE,
84     ERROR_____KEY_ERROR,
85     ERROR__OFFSET_RANGE,
86     ERROR__NOT_HASHABLE,
87     ERROR__NOT_KEYVALUE,
88     ERROR_____CANT_IVAL,
89     ERROR_____CANT_UVAL,
90     ERROR______NOT_UVAL,
91     ERROR_CANT_BROADCAS,
92     ERROR_____CANT_SIGN,
93     ERROR______CANT_ABS,
94     ERROR______CANT_INT,
95     ERROR______CANT_LEN,
96     ERROR_____CANT_SIZE,
97     ERROR_____CANT_BOOL,
98     ERROR______NOT_ITER,
99     ERROR__NO_BYTE_ADDR,
100     ERROR__NO_WORD_ADDR,
101     ERROR__NO_LONG_ADDR,
102     ERROR____NOT_DIRECT,
103     ERROR__NOT_DATABANK,
104     ERROR_____NOT_BANK0,
105     ERROR_OUT_OF_MEMORY,
106     ERROR__ADDR_COMPLEX,
107     ERROR__EMPTY_ENCODI,
108     ERROR_MISSING_CLOSE,
109     ERROR__MISSING_OPEN,
110     ERROR__MISSING_LOOP,
111     ERROR_NEGATIVE_SIZE,
112     ERROR__USER_DEFINED,
113     ERROR_NO_ADDRESSING,
114     ERROR___NO_REGISTER,
115     ERROR___NO_LOT_OPER,
116     ERROR__BRANCH_CROSS,
117     ERROR_BRANCH_TOOFAR,
118     ERROR____PTEXT_LONG,
119     ERROR______EXPECTED,
120     ERROR_RESERVED_LABL,
121     ERROR___UNKNOWN_CPU,
122 
123     ERROR___NOT_DEFINED,
124     ERROR__INVALID_OPER,
125     ERROR__INVALID_CONV,
126     ERROR__WRONG_ARGNUM,
127     ERROR____STILL_NONE,
128 
129     ERROR_CANT_FINDFILE = 0xc0,
130     ERROR__READING_FILE,
131     ERROR_CANT_WRTE_OBJ,
132     ERROR_CANT_WRTE_LST,
133     ERROR_CANT_WRTE_LBL,
134     ERROR_CANT_WRTE_MAK,
135     ERROR_CANT_WRTE_ERR,
136     ERROR_FILERECURSION,
137     ERROR__MACRECURSION,
138     ERROR__FUNRECURSION,
139     ERROR_WEAKRECURSION,
140     ERROR_TOO_MANY_PASS,
141     ERROR_UNKNOWN_OPTIO,
142     ERROR____LABEL_ROOT,
143     ERROR__SECTION_ROOT
144 } Error_types;
145 #endif
146