Repository navigation
Expand file tree
/
Copy patherrors.h
More file actions
40 lines (34 loc) · 1.45 KB
/
Copy patherrors.h
File metadata and controls
40 lines (34 loc) · 1.45 KB
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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* errors.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: eblackbu <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/05/03 13:59:12 by eblackbu #+# #+# */
/* Updated: 2020/05/03 13:59:16 by eblackbu ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef ERRORS_H
# define ERRORS_H
# define ERR_NO_AC 1
# define ERR_FILE_NOT_S 2
# define ERR_NO_FILE 3
# define ERR_FILE_NOT_CREATED 4
# define ERR_NO_NEW_LINE 5
# define ERR_UNEXP_SYM 10
# define ERR_UNEXP_EOF 11
# define ERR_DOUBLE_NAME 12
# define ERR_DOUBLE_COMMENT 13
# define ERR_NAME_LENGTH 14
# define ERR_COMMENT_LENGTH 15
# define ERR_NULL_HEADER 16
# define ERR_NO_CODE 17
# define ERR_LABEL_CHARS 20
# define ERR_EMPTY_LABEL 21
# define ERR_INV_TYPE 100
# define ERR_COUNT_ARGS 101
# define ERR_INV_ARG 102
# define ERR_INV_REG 103
# define ERR_UNKNOWN_LABEL 104
#endif