aboutsummaryrefslogtreecommitdiff
path: root/include/util.h
blob: bdf260eddbcaba35630704d8ed290bb1889a2899 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef CERC_UTIL_H
#define CERC_UTIL_H
enum exit_status {
	/* EXIT_SUCCESS = 0 (defined in stdlib.h) */
	EXIT_USER = 1,
	EXIT_LEX = 2,
	EXIT_PARSE = 3,
	EXIT_CHECK = 4,
	EXIT_ABNORMAL = 255,
};

void *must_malloc(size_t size);

#endif