-
Notifications
You must be signed in to change notification settings - Fork 1
/
error.h
59 lines (56 loc) · 1.34 KB
/
error.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#ifdef MAIN
#define EXTERN
#else
#define EXTERN extern
#endif
int Error(int , const char *);
void Warning(const char *);
//EXTERN int err;
//EXTERN int err_num;
#define INCLUDE_ERR 1
#define FILE_ERR 2
#define LABEL_ERR 3
#define OP_ERR 4
#define MLABEL_ERR 5
#define NOMEM_ERR 6
#define REDEF_ERR 7
#define LMREDEF_ERR 8
#define LREDEF_ERR 9
#define MREDEF_ERR 10
#define TOOMANY_ERR 11
#define LMTOOMANY_ERR 12
#define LTOOMANY_ERR 13
#define MTOOMANY_ERR 14
#define UNKNOWN_ERR 15
#define TOOBIG_ERR 16
#define EXPR_ERR 17
#define SYNTAX_ERR 18
#define NEEDCONST_ERR 19
#define MLABEL2_ERR 20
#define CODEMEM_ERR 21
#define DISTANCE_ERR 22
#define NOREFMEM_ERR 23
#define GARBAGE_ERR 24
#define MACRONESTED_ERR 25
#define BYTE_ERR 26
#define WORD_ERR 27
#define TYPE_ERR 28
#define UNSOLVED_ERR 29
#define TOOMANYIF_ERR 30
#define ENDIF1_ERR 31
#define FAIL_ERR 32
#define SWITCH_ERR 33
#define CASE_ERR 34
#define ENDS_ERR 35
#define REPT1_ERR 36
#define REPT2_ERR 37
#define DEFAULT_ERR 38
#define ISYMS_ERR 39
#define CMD_ERR 40
#define WRITE_ERR 41
#define LOAD_ERR 42
// jaguar-errors
#define IMM_ERR 43
#define REG_ERR 44
#define REG1_ERR 45
#define MISC_ERR 46